-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu and hovers shifted with negative zooms #232750
Comments
@bpasero @deepak1556 @benibenj I have not touched this and its a recent regression. I used vscode-bisect to narrow to this range which includes esbuild stuff and electron updates c33745f...af6645a |
Yes, I can reproduce. I would think its the Electron 32 update, as the ESM changes from Jo were just CI related. I had fixed a similar issue for the new Chat dropdown that would open up at the wrong location via this CSS fix: 48c7be5 So its possible we need to apply this fix to more elements of the titlebar? I also noticed that hovers are not positioned correctly. |
There has not been any change in this area on our side and I don't think it is esm related. @deepak1556 any chance the electron update could have caused this? |
Was able to confirm this to be a change in the runtime. Traced it back to https://chromium-review.googlesource.com/c/chromium/src/+/5085708 which attempts to adjust the values returned by The result of it was us double adjusting the menu bar position in vscode/src/vs/base/browser/ui/menu/menubar.ts Line 1017 in 6e3cbfd
I also see there are many callsites of
|
Type: Bug
Menus from the menu bar are shifted to the right. Due to smaller fontsize.
Reproducable by using [ctrl] + [-] and using the menu bar
VS Code version: Code 1.95.0 (912bb68, 2024-10-28T20:16:24.561Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (30)
A/B Experiments
The text was updated successfully, but these errors were encountered: