You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugIssue identified by VS Code Team member as probable buglinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verification-neededVerification of issue is requestedwaylandIssue related to wayland display server
Quick update on this: Electron 41, released on March 10th, introduces better support for Wayland, including shadows on "frameless" wayland apps like vscode (See the changelog). A full blog post even shows an example of drop shadows on a vscode wayland window.
So an upgrade to Electron 41 should fix this issue, but currently VS Code is still running on electron 39
Reacted by Clemens Brunner, Alejandro Romano, Cristian, Tera, tannenfreund87, Valerio, Adam Dingle, Gabriel, scholar7r, otjura and 1 more
Some good news!
The newly released Insiders build comes with Electron 42, and finally there are shadows when VS Code is launched in native Wayland mode! This should be coming to stable release in version 1.123, next week.
The shadows are similar to what we have on Chrome for example.
However, there is still no rounded corners, but that's a less important issue. Also, there is a bug when you open multiple windows, the additional windows have a thin frame around the shadows:
Some good news! The newly released Insiders build comes with Electron 42, and finally there are shadows when VS Code is launched in native Wayland mode! This should be coming to stable release in version 1.123, next week.
The shadows are similar to what we have on Chrome for example.
However, there is still no rounded corners, but that's a less important issue. Also, there is a bug when you open multiple windows, the additional windows have a thin frame around the shadows:
[Robo (@deepak1556)](https://github.com/deepak1556)
Thanks for clarifying that the original desktop was KDE. I reproduced the missing right edge on Ubuntu 24.10, KWin 6.1.5 / Breeze, native Wayland, with the custom title bar. I verified the fix on the same desktop in Stable 1.148.0 and Insiders 1.149.0. Both Firefox and VS Code were native Wayland windows; I measured the composited desktop, not just VS Code's own screenshot.
VS Code build
Unmaximized, empty light editor over a white Firefox page
1.99.3 and 1.122.1
No exterior shadow at either of two window placements. In the originally reported 1.99.3, the pixels immediately inside and outside the right edge were both white.
1.123.0, 1.148.0, and 1.149.0 Insiders
A visible shadow followed the right edge at both placements. At scale 1, the first pixel outside VS Code darkened from #ffffff to #b3b3b3, with a 16-pixel shadow on this setup. Bringing Firefox back to the front restored pure white.
What changed:electron/electron#49295 added shadows to frameless native Wayland windows. VS Code picked up that support in the Electron 42 upgrade, #316661, released in 1.123.0. The 1.149.0 milestone is for independent verification, not the first fixed release. This resolves the original overlapping-window edge report; it doesn't depend on rounded corners.
wayland-window-edge.mp4
Verification steps — latest VS Code Insiders on Linux
Log into KDE Plasma Wayland (echo "$XDG_SESSION_TYPE" should print wayland). Open a white page in Firefox, such as about:blank with a light browser theme.
Launch code-insiders --ozone-platform=wayland --disable-extensions --user-data-dir "$(mktemp -d)" --new-window. Select Visual Studio Light, keep window.titleBarStyle set to custom, and close any editor tabs so the workbench is empty.
Unmaximize the Insiders window and place it in front of Firefox, with the middle of its right edge over the white page. Keep Insiders focused; don't tile it or use full screen.
Expected: you can see where VS Code ends and Firefox begins. Move the Insiders window sideways: the shadow should follow its edge. Bring Firefox to the front: the white page should have no mark where the edge was. The exact shadow width need not match across themes or display scales.
bugIssue identified by VS Code Team member as probable buglinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verification-neededVerification of issue is requestedwaylandIssue related to wayland display server
Activity
bpasero commentedon Apr 26, 2025
Does it help to configure
window.titleBarStyletonative?DimanNe commentedon Apr 27, 2025
It helps
(but then there is another problem: it is native)
bpasero commentedon Apr 27, 2025
Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/
vs-code-engineering commentedon May 5, 2025
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
DimanNe commentedon May 5, 2025
Benjamin Pasero (@bpasero) I reproduced it with your insiders build. Same issue, see the screenshot:
[-]There is no (right?) border in the window[/-][+]broken window border with wayland[/+]43 remaining items
pierrebrd commentedon Mar 23, 2026
Quick update on this: Electron 41, released on March 10th, introduces better support for Wayland, including shadows on "frameless" wayland apps like vscode (See the changelog). A full blog post even shows an example of drop shadows on a vscode wayland window.
So an upgrade to Electron 41 should fix this issue, but currently VS Code is still running on electron 39
sedax90 commentedon Mar 24, 2026
Robo (@deepak1556) there's a plan to update vscode to electron 41?
canyonopm3026-create commentedon Mar 24, 2026
iacobucci commentedon Mar 30, 2026
On archlinux, gnome, wayland and a vscode-oss build the issue is very present: the border flickers and creates some bands
iacobucci commentedon Mar 30, 2026
In the meantime for the fellow Gnome users, this extension https://github.com/flexagoon/rounded-window-corners solves the problem
pierrebrd commentedon May 28, 2026
Some good news!
The newly released Insiders build comes with Electron 42, and finally there are shadows when VS Code is launched in native Wayland mode! This should be coming to stable release in version 1.123, next week.
The shadows are similar to what we have on Chrome for example.
However, there is still no rounded corners, but that's a less important issue. Also, there is a bug when you open multiple windows, the additional windows have a thin frame around the shadows:
Robo (@deepak1556)
cbrnr commentedon May 28, 2026
That's a start. Meanwhile, I've managed to make it work on KDE using window rules and the Rounded Corners extension. Works great!
sedax90 commentedon Jun 4, 2026
for the rounded corners I think we should wait this: electron/electron#51459
sedax90 commentedon Jun 25, 2026
Rounded corners are actually default on linux with Electron 43+ electron/electron#52111
Let's just hope it doesn't take months again before vscode decides to update the electron version...
mitchchn commentedon Jun 25, 2026
Tracking this one here: electron/electron#51456.
pierrebrd commentedon Sep 17, 2026
Solved with VSCode 1.139 (current insiders release) with electron 43, windows now have both shadows and rounded corners.
dmitrivMS commentedon Nov 29, 2026
Thanks for clarifying that the original desktop was KDE. I reproduced the missing right edge on Ubuntu 24.10, KWin 6.1.5 / Breeze, native Wayland, with the custom title bar. I verified the fix on the same desktop in Stable 1.148.0 and Insiders 1.149.0. Both Firefox and VS Code were native Wayland windows; I measured the composited desktop, not just VS Code's own screenshot.
#ffffffto#b3b3b3, with a 16-pixel shadow on this setup. Bringing Firefox back to the front restored pure white.What changed: electron/electron#49295 added shadows to frameless native Wayland windows. VS Code picked up that support in the Electron 42 upgrade, #316661, released in 1.123.0. The 1.149.0 milestone is for independent verification, not the first fixed release. This resolves the original overlapping-window edge report; it doesn't depend on rounded corners.
wayland-window-edge.mp4
Verification steps — latest VS Code Insiders on Linux
echo "$XDG_SESSION_TYPE"should printwayland). Open a white page in Firefox, such asabout:blankwith a light browser theme.code-insiders --ozone-platform=wayland --disable-extensions --user-data-dir "$(mktemp -d)" --new-window. Select Visual Studio Light, keepwindow.titleBarStyleset tocustom, and close any editor tabs so the workbench is empty.