Change:
Type: <bBug</bDrag a file from the explorer side bar into the main panel. vscode insider crashes. This problem happens when on Linux using the Wayland display backend ( on the command line). This problem cannot be reproduced under X11. Here are the last lines of log output when : VS Code version: Code - Insiders 1.78.0-insider (, 2023-04-12T05:20:39.394Z) OS version: Linux x64 6.1.15-1rodete3-amd64 Modes: Sandboxed: Yes <details<summarySystem Info</summary </details<details<summaryExtensions (88)</summaryExtensionVersion ------ terminal-commands1.0.5 vscode-m3u1.0.0 cppincludeguard1.6.0 Bookmarks13.3.1 hex-decimal-magic0.0.1 meson1.3.0 vscode-neovim0.0.97 vscode-bazel0.7.0 markdown-preview-github-styles1.0.1 shell-syntax1.0.5 better-toml0.3.2 gitignore0.9.0 arm1.7.4 vscode-markdownlint0.49.0 bazel-code0.1.9 vscode-wasm1.4.1 gitlens2023.4.1205 vscode-command-runner0.0.124 vsc-material-theme33.8.0 vsc-material-theme-icons2.7.5 fuchsia-tree0.0.5 language-fidl0.5.0 vscode-fuchsia1.. zxdb1.0.4 go0.38.0 gc-excelviewer4.2.57 vscode-systemd-support1.0.1 svgeditor2.9.0 vscode-go-template0.2.1 svg1.5.2 language-haskell3.6.0 hex-fmt1.0.0 graphql-for-vscode1.15.3 vscode-clangd0.1.23 lzwme-eye-care1.0.2 MagicPython1.1.0 prettify-json0.0.3 theme-monokai-pro-vscode1.2.0 vscode-json51.0.0 vscode-docker1.24.0 vscode-dotnet-runtime1.6.0 isort2023.9. python2023.6.0 vscode-pylance2023.4.10 jupyter2023.4. jupyter-keymap1.1.0 jupyter-renderers1.0.15 vscode-jupyter-cell-tags0.1.8 vscode-jupyter-slideshow0.1.5 remote-containers0.289.0 remote-ssh0.101. remote-ssh-edit0.84.0 remote-wsl0.78.0 vscode-remote-extensionpack0.24.0 cpptools1.15.2 cpptools-extension-pack1.3.0 live-server0.4.7 remote-explorer0.5. remote-server1.0.0 vscode-typescript-next5.1. vsliveshare1.0.5857 gnls0.1.3 autotrim1.0.6 vscode-gn1.1.0 prettier-standard-vscode1.0.2 vetur0.37.3 vscode-gnformat0.0.3 macos-dark-mode-theme1.1.3 text-power-tools1.40.2 scheme0.0.2 fuchsiaware0.5.1 rust-analyzer0.3.1472 vscode-coverage-gutters2.10.4 crates0.5.11 trailing-spaces0.4.1 markdown-preview-enhanced0.6.8 gitconfig2.0.1 rewrap1.16.3 code-spell-checker2.20.4 shellcheck0.31.1 vscode-icons12.3.0 vscode-ruby0.28.0 change-case1.0.0 clang-format1.9.0 swig-tpl0.0.6 propertylist0.0.2 material-theme3.15.8 vscode-proto30.5.5 (17 theme extensions excluded) </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --Minidump:
Upstream bug: CrBug:
Thanks for the sleuthing! What should I do in the meantime? Is my only choice to roll back to an earlier version of insider that's not on Electron 22, and wait until vscode picks up a version of Electron that doesn't have this bug?
Yeah one option is to rollback, another would be to try changing the display scale factor and see if the helps.
FWIW, I switched to Gnome on Wayland and this problem doesn't happen there. I use a HiDPI monitor so changing the scale factor is infeasible though.
I think is a duplicate of which has been fixed in Chromium 110 with . Since the fix seems relatively straight forward, I have submitted a pull-request () to backport it into Electron 22 so, hopefully, it will eventually land in vscode. The other option is to just wait for vscode to upgrade to Electron 24 (), but it might take a while until that lands.
Thanks for the backport I will update Electron to which contains the fix this week.
<!-- AUTHORVERIFICATIONREQUEST --This bug has been fixed in the latest release of ! you can help us out by commenting if things are now working as expected. If things still don't seem right, please ensure you're on version of Insiders (today's or later - you can use in the command palette to check), and leave a comment letting us know what isn't working as expected. Happy Coding!
/verified
code-insiders under wayland still fails to start most of the times on Fedora 38.
Can you start with and attach the output.
If its okay, I will attach log. I also have problem in almost same system.
thanks for the logs, looks like you are not on the latest insider. Can you update and try again, I believe the fix in should the address the issue you are facing.
Oh it works well now, i forgot rpm build is bit slower. I think unexpected crashing also fixed in this build.

Discussion:
disturl "https://electronjs.org/headers" <del> target "22.3.5" </del> <ins> target "22.3.10" </ins> runtime "electron" build_from_source "true"

}); } exports.config = { <del> version: product.electronRepository ? '22.5.2' : util.getElectronVersion(), </del> <ins> version: product.electronRepository ? '22.5.3' : util.getElectronVersion(), </ins> productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',

}; } async function main(arch = process.arch) { <del> const version = product.electronRepository ? '22.5.2' : util.getElectronVersion(); </del> <ins> const version = product.electronRepository ? '22.5.3' : util.getElectronVersion(); </ins> const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;

} export const config = { <del> version: product.electronRepository ? '22.5.2' : util.getElectronVersion(), </del> <ins> version: product.electronRepository ? '22.5.3' : util.getElectronVersion(), </ins> productAppName: product.nameLong, companyName: 'Microsoft Corporation', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',

} async function main(arch = process.arch): Promise<void> { <del> const version = product.electronRepository ? '22.5.2' : util.getElectronVersion(); </del> <ins> const version = product.electronRepository ? '22.5.3' : util.getElectronVersion(); </ins> const electronPath = path.join(root, '.build', 'electron'); const versionFile = path.join(electronPath, 'version'); const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;

"git": { "name": "electron", "repositoryUrl": "https://github.com/electron/electron", <del> "commitHash": "0b17a201195ae6445e11cee50e436a3511717600" </del> <ins> "commitHash": "b07f2f0f42a1483cd2e5ec8fa3c77ebaa0507069" </ins> } }, "isOnlyProductionDependency": true, "license": "MIT", <del> "version": "22.3.5" </del> <ins> "version": "22.3.10" </ins> }, { "component": {

"cssnano": "^4.1.11", "debounce": "^1.0.0", "deemon": "^1.8.0", <del> "electron": "22.3.5", </del> <ins> "electron": "22.3.10", </ins> "eslint": "8.36.0", "eslint-plugin-header": "3.1.1", "eslint-plugin-jsdoc": "^39.3.2",

resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01" integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== <del> electron@22.3.5: version "22.3.5" resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.5.tgz#a53a318cbb25a44914dfedd30a9ad6120632197f" integrity sha512-CTdnoTbO3sDiMv47TX3ZO640Ca57v1qpiqGChFF8oZbtfHuQjTPPaE4hsoynf22wwnBiyJNL41DpB/pfp9USnA== </del> <ins> electron@22.3.10: version "22.3.10" resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.10.tgz#bf2b98fbb452f41b057ffcd4e57678e363f9735c" integrity sha512-gh7PtSh+rfxHfM4dzPiEO+k1NRo07FvaK/jXG3HzuODrpTTEhC9rsE+AJGrTKQU6Nz7GorseMvnvs8PnUQPPTw== </ins> dependencies: "@electron/get" "^2.0.0" "@types/node" "^16.11.26"