VS Code Multi-Diff Editor corrupts layout
10 posts in the last 60 days, all from GitHub.
“Does this issue occur when all extensions are disabled?: N/A — reproduced in isolated browser diagnostics with no extension host; not separately reproduced via the installed app's UI. VS Code Version: 1.138.0 insider, 7b7e49c83affacfac726040280da69b4999f3e01 (2026 09 11)…”
“Does this issue occur when all extensions are disabled?: Yes/No VS Code Version: Version: 1.135.0 Commit: 08d4889f9ec4a1685d257b9b95de036c8e1ce1e5 Date: 2026 08 25T14:26:52Z Electron: 42.8.1 ElectronBuildId: 14906494 Chromium: 148.0.7778.280 Node.js: 24.18.1 V8: 14.8.178.38…”
“No way to open a single file diff from the chat "N Files +X Y" summary — only the combined multi file diff opens Version VS Code: 1.140.0 (commit 07f806f999227108933c2e30515b26eecc1fda74 ), x64 OS: Windows Steps to Reproduce 1. In the Chat view, start an Agent mode request that…”
Users report issues with VS Code's multi-diff editor, including corrupted layouts when files are deleted or geometry changes during scrolling. This leads to visible jumps and incorrect positioning of diff content.
SOURCES (17)
“No way to open a single file diff from the chat "N Files +X Y" summary — only the combined multi file diff opens Version VS Code: 1.140.0 (commit 07f806f999227108933c2e30515b26eecc1fda74 ), x64 OS: Windows Steps to Reproduce 1. In the Chat view, start an Agent…”
“Error Message Stack Trace at wme.unbind (./src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts:539:0) at Lvo.dispose (./src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.ts:591:0) at Pvo. clearBinding (./src/vs/editor/browser/widget/multiDiffEditor/virtualizedItemManager.ts:235:10) at cK. runFn (./src/vs/editor/browser/widget/multiDiffEditor/virtualizedItemManager.”
“Summary The multi diff editor can leave large blank regions because synthetic empty side text models are disposed while their diff view models are still alive. Comment range prefetch resolves these models through the text model resolver. When the resulting temporary document reference expires or is evicted, the resolver destroys the underlying model despite the multi diff retaining its own independent ownership. Rendering then throws Model is disposed! ; the virtualized item latches the failure”
“Does this issue occur when all extensions are disabled?: N/A — reproduced in isolated browser diagnostics with no extension host; not separately reproduced via the installed app's UI. VS Code Version: 1.138.0 insider, 7b7e49c83affacfac726040280da69b4999f3e01 (2026 09 11). Diagnostics used 33a6a088236067e1a16d08481d617dfcf6da2e2c ; affected code is identical. OS Version: macOS 26.6.2, arm64; headless Chromium diagnostics. Steps to Reproduce: 1. In a browser harness, create a real compact MultiDif”
“Does this issue occur when all extensions are disabled?: N/A — reproduced in isolated browser diagnostics with no extension host; not separately reproduced via the installed app's UI. VS Code Version: 1.138.0 insider, 7b7e49c83affacfac726040280da69b4999f3e01 (2026 09 11). Diagnostics used 33a6a088236067e1a16d08481d617dfcf6da2e2c ; affected code is identical. OS Version: macOS 26.6.2, arm64; headless Chromium diagnostics. Steps to Reproduce: 1. In a browser harness, create a real compact MultiDif”
“A deleted file can temporarily shrink to the empty modified editor's one line height, corrupting multi diff layout and scroll position. Diff content height should account for both editor sides.”
“If a text model is disposed while a multi diff template binds, the render exception aborts the virtualization update and leaves the layout corrupted. The failure should be reported and isolated while preserving cached geometry.”
“When item geometry changes while scrolling upward, the multi diff editor anchors at the viewport top, causing visible jumps. Upward scrolling should preserve the viewport bottom; downward scrolling should preserve the top.”
“Testing 333209 Add context in the form of pills Dont write prompt Reload the window Context is not restored 🐛 https://github.com/user attachments/assets/dccabb2f 53f7 4263 bbc6 3bc907ac7a68”
“Does this issue occur when all extensions are disabled?: Yes/No VS Code Version: Version: 1.135.0 Commit: 08d4889f9ec4a1685d257b9b95de036c8e1ce1e5 Date: 2026 08 25T14:26:52Z Electron: 42.8.1 ElectronBuildId: 14906494 Chromium: 148.0.7778.280 Node.js: 24.18.1 V8: 14.8.178.38 electron.0 @github/copilot: 1.0.81 0 @github/copilot sdk: 1.0.11 OS: Darwin arm64 25.6.0 OS Version: MACOS Tahoe 26.6.2 Steps to Reproduce: 1. open at least 2 files 2. try to navigate to the previous file with the back mouse”
“VS Code Version: 1.129.0 insider In the bottom panel the view separator is misplaced, it’s rendered at the top instead of between the views: <img width="670" height="226" alt="Image" src="https://github.com/user attachments/assets/2b25a1b0 acb4 4abf 9b97 c402defe06de" /”
“Does this issue occur when all extensions are disabled?: Yes VS Code Version: 1.107.0 OS Version: Windows 11 25H2 26200.7171 Steps to Reproduce: 1. Create a new file with the following content. This text has been found to consistently trigger the bug. 身穿白色长袖衬衫、浅绿色条纹测试领带与灰绿格纹百褶裙,搭配黑色小腿袜和黑色乐福鞋。她left腿微屈抬起,right腿支撑身体,双臂张开呈V字形,left手比出“耶”手势,right手轻触头顶发饰,面带灿烂笑容,眼睛弯成月牙,表情测试活泼俏皮。背景为日式室内咖啡厅,木质地板、黄色座椅与暖光墙面营造测试温馨氛围,right侧可见黄色立式菜单板。画面整体明亮清新,人物动作充满动感测试与青春活力,镜头采用中景平视视角,强调角色的跳跃姿态与表情细节。 2. Select right , then us”
“Does this issue occur when all extensions are disabled?: Yes/No VS Code Version: 1.93.0 (Universal) OS Version: OS: Darwin arm64 23.6.0 Steps to Reproduce: 1. Make Refactor Preview appear (e.g. open some file and try some of Refactor... context actions) 2. Close the preview editor via Discard button 3. Call vscode.window.visibleTextEditors 4. It contains the vscode bulkeditpreview editor://... editor that corresponds to the Refactor Preview we just closed as well as the file that refactor previe”
“Type: <b Bug</b 1. Open the vscode git repository as workspace 2. Generate a list of 100+ changed files, e.g. cp r src/vscode dts src/vscode dts copy 3. From SCM view, show changes using the multi diff editor 4. Look at the developer console, there should be a lot of warnings like: I'm filing this is a bug, while it's actually a limitation with the current design. In https://github.com/microsoft/vscode/blob/9626fb0cd29113bc7bbaf7035e0b0cbe96baae59/src/vs/workbench/contrib/multiDiffEditor/browser”
“Type: <b Feature Request</b As described in https://github.com/microsoft/vscode/issues/199615 issuecomment 1959958655, when some of the Uris passed to the multi diff editor are binary, an error is logged in the debug console and the Uris are silently skipped. It would be nice to show the user that files could not be diff ed (and maybe which files in particular and why). VS Code version: Code Insiders 1.87.0 insider (a0b90ac5e04ea9a0733b68062253a469994e170e, 2024 02 22T05:48:26.543Z) OS version:”
“This is a follow up from https://github.com/microsoft/vscode/issues/180514 When the EH restarts with an opened custom editor, that editor continues to be editable but does not report any dirty indication and does not allow to be saved because the old EH it was talking to is gone. Recording 2023 06 02 at 10 50 46 I think a custom editor should detect that it lost the connection to its extension on the EH side and then do something, such as: turn readonly to prevent further edits show an indicatio”
“Does this issue occur when all extensions are disabled?: Yes VS Code Version: 1.66.2, 1.67.0 insider OS Version: Windows NT x64 10.0.19044 Steps to Reproduce: 1. See gif below, or: Open markdown file 2. Show preview 3. Change markdown file 4. Switch to another tab to hide preview 5. Get back to preview Code Insiders i6uW3MTnMI”
