-
Notifications
You must be signed in to change notification settings - Fork 30.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
UI BUG in activity bar #193304
Comments
It works fine on left as there is some margin. But on right there is no margin of popup / modal. So it just overlaps on your click. |
@deepak1556 right now, native anchored menus (dropdowns or button-triggered menus) have this issue because electron will not compensate for mouse location. @bpasero's fix for context menus won't apply here because we pass an anchor over. should we consider if native menus are enabled for linux/windows that we ignore the anchor and use mouse position instead. alternatively, we could ditch native menus for the context menu service on non-macos desktop platforms regardless of titlebar style |
Is there an upstream issue for this I can look at ? |
It's essentially this one #113175 |
Ah okay, I don't have way to move that issue forward since I lack repro on my setup. If I am not mistaken, @bpasero also made the change to native context menus to use mouse position #113175 (comment) and given the issue persists, I like the alternative to make custom context menus as default regardless of titlebar style. |
I assume this means for Windows, Linux, and Web |
I was 👍 for Linux, is there a strong reason to make the change on Windows as well ? |
I think the same applies for those that use the native titlebar on WIndows |
Closing as duplicate of #167941 |
Type: Bug
When primary bar is set to right and we click on bottom options (account / settings), the popup/ modal closes itself by choosing one option. Overall the two options are hard to operate when on right side.
VS Code version: Code 1.82.2 (abd2f3d, 2023-09-14T05:51:20.981Z)
OS version: Linux x64 5.15.0-83-generic
Modes:
System Info
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: