Skip to content

Error while loading left image in git diff editor #125602

@jeanp413

Description

@jeanp413
  • VS Code Version: From sources

Steps to Reproduce:

  1. Modify an image file
  2. Open scm view and click on the change
  3. 🐛 Left image doesn't load
Error: Unable to read file 'git:/home/jeanpierre/Desktop/vscode_test_folders/nodetest/abc.gif?%7B%22path%22%3A%22%2Fhome%2Fjeanpierre%2FDesktop%2Fvscode_test_folders%2Fnodetest%2Fabc.gif%22%2C%22ref%22%3A%22~%22%7D' (SyntaxError: Unexpected token % in JSON at position 0)
    at FileService.doReadFileStream (fileService.ts:539)
    at processTicksAndRejections (internal/process/task_queues.js:93)
    at async Object.loadLocalResource (resourceLoading.ts:66)
    at async ElectronIframeWebview.loadResource (baseWebviewElement.ts:530)

cc @mjbvz

Metadata

Metadata

Assignees

Labels

candidateIssue identified as probable candidate for fixing in the next releaseinsiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions