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
juanep97 opened this issue
Dec 16, 2024
· 3 comments
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugelectronIssues and items related to ElectrontitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
In Ubuntu 24.04 under Wayland, in my main hidpi monitor, the title bar size is correct. When I connect a second (bigger) monitor, and other applications are moved over to the second screen, they are correctly automatically resized down (their size in pixel decreased, so their physical size stays more or less constant). VSCode is not resized, and therefore appears too big. I can zoom out inside VSCode so the size is corrected, but this does not affect the title bar, which, as can be seen in the image, stays way too big compared to other windows (next to a terminal in the example).
There could be two ways of fixing this behavior: allow zooming out the title bar, and/or make vscode correctly resize when moving to a monitor of different size. Ideally both.
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.96.0
OS Version: Ubuntu 24.04 LTS
Steps to Reproduce:
Using vscode in Ubuntu (Wayland)
Use custom title bar
The text was updated successfully, but these errors were encountered:
juanep97
changed the title
Title bar too big in secondary monitor, does not scale with zoom
Title bar too big in some screens, does not scale with zoom
Dec 16, 2024
I found out vscode is correctly scaled between monitors at different scalings when Wayland is enabled (code --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto). Maybe this could be the default.
For using native wayland as default, please follow #207033 which will offer some sort of persistent setting in the application.
benibenj
added
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
electron
Issues and items related to Electron
labels
Dec 17, 2024
bugIssue identified by VS Code Team member as probable bugelectronIssues and items related to ElectrontitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
In Ubuntu 24.04 under Wayland, in my main hidpi monitor, the title bar size is correct. When I connect a second (bigger) monitor, and other applications are moved over to the second screen, they are correctly automatically resized down (their size in pixel decreased, so their physical size stays more or less constant). VSCode is not resized, and therefore appears too big. I can zoom out inside VSCode so the size is corrected, but this does not affect the title bar, which, as can be seen in the image, stays way too big compared to other windows (next to a terminal in the example).
There could be two ways of fixing this behavior: allow zooming out the title bar, and/or make vscode correctly resize when moving to a monitor of different size. Ideally both.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: