Open xgdgsc opened 3 years ago
Could it be related to https://bugreports.qt.io/browse/QTBUG-57849?
this is a common issue with the native electron menus on linux. we can revisit the location we ask the item to open to avoid this as much as possible but I think cannot really choose ideal behavior because if the activity bar is on the right, the menu will always try to draw under the cursor in the proposed case
Any updates for this?
i have the same issue in:
Version: 1.56.0 Commit: cfa2e218100323074ac1948c885448fdf4de2a7f Date: 2021-05-04T21:58:14.757Z (1 wk ago) Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Linux x64 4.10.0-38-generic
waiting for fix.
Same issue on Ubuntu 20.04
Version: 1.61.0
Commit: ee8c7def80afc00dd6e593ef12f37756d8f504ea
Date: 2021-10-07T18:11:02.929Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-37-generic snap
Facing same issue on manjaro gnome with arch package for vscode
Still facing the same issue on wsl, but vscode is working inside ubuntu 20.04.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
I gave up and bought a MacBook.
I have been facing this issue. Can be quite annoying.
$ code --version
1.64.2
f80445acd5a3dadef24aa209168452a3d97cc326
x64
My workaround is to drag the cursor away from the context menu, after the right-click and before the context menu appears.
Happens on my Ubuntu 20.04 machine. It happens when right clicking in the text editor as well.
$ code --version
1.66.2
dfd34e8260c270da74b5c2d86d61aee4b6d56977
x64
I have a similar issue on fedora 35.
The problem appears when a menu does not fit between the mouse and the edge of the screen, it is shifted either up or down and the bug occurs.
The bug occurs for me if the window.zoomLevel
option is set in settings.json
$ code --version
1.67.2
c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
x64
same issue code --version 1.76.2 ee2b180d582a7f601fa6ecfdad8d9fd269ab1884 x64
march 23/2023
Still relevant on Ubuntu 22.04
$ code --version 1.80.1 74f6148eb9ea00507ec113ec51c489d6ffb4b771 x64
Curious if people could try if they can still reproduce this using our latest insider. You can give our preview releases a try from: https://code.visualstudio.com/insiders/
And if it still reproduces, configure "window.experimental.nativeContextMenuLocation": true
in settings and check again.
Thanks 🙏
Issue Type: Bug
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:32:10.090Z) OS version: Linux x64 5.4.0-59-generic Fetching remote diagnostics for 'ssh-remote+r2-data_oper' timed out. Fetching remote diagnostics for 'ssh-remote+r2-data_oper' timed out. Fetching remote diagnostics for 'ssh-remote+d1-data_oper' timed out.
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3830)| |GPU Status|2d_canvas: enabledflash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|4, 3, 4| |Memory (System)|62.66GB (8.48GB free)| |Process Argv|--no-sandbox --unity-launch --crash-reporter-id d6eee9fc-6660-477a-8405-4d115a8c0351| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|plasma| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|KDE| |XDG_SESSION_TYPE|x11|
Extensions (94)
Extension|Author (truncated)|Version ---|---|--- language-x86-64-assembly|13x|2.3.0 language-gas-x86|bas|0.0.2 vscode-log-viewer|ber|0.11.1 emojisense|bie|0.8.0 markdown-mermaid|bie|1.9.1 head-file-guard|bjr|0.0.3 better-toml|bun|0.3.2 bracket-pair-colorizer-2|Coe|0.2.0 doxdocgen|csc|1.1.0 gitlab-ci-validator|cst|1.0.0 vscode-eslint|dba|2.1.14 githistory|don|0.6.14 vscode-pandoc|Dou|0.0.8 redis|Dun|0.8.4 vscode-npm-script|eg2|0.3.13 git-project-manager|fel|1.7.1 code-runner|for|0.11.2 getter-setter-generator|Gab|1.4.0 vscode-yarn|gam|1.7.1 nightswitch|gha|1.1.0 matlab|Gim|2.0.0 leek-fund|gis|1.9.3 go|gol|0.20.2 gc-excelviewer|Gra|3.0.40 todo-tree|Gru|0.0.193 selected-lines-count|gur|1.4.0 vscode-test-explorer|hbe|2.19.4 vscode-power-mode|hoo|2.2.0 rest-client|hum|0.24.4 output-colorizer|IBM|0.1.2 path-autocomplete|ion|1.17.0 nbpreviewer|jit|1.2.2 vscode-peacock|joh|3.9.1 language-julia|jul|1.0.10 git-indicators|lam|2.1.2 vsls-whiteboard|los|0.0.12 bash-ide-vscode|mad|1.11.0 vscode-catch2-test-adapter|mat|3.6.19 rainbow-csv|mec|1.8.0 vscode-clang|mit|0.2.3 prettify-json|moh|0.0.3 compare-folders|mos|0.20.0 vscode-docker|ms-|1.9.0 vscode-kubernetes-tools|ms-|1.2.1 anaconda-extension-pack|ms-|1.0.1 python|ms-|2020.12.424452561 vscode-pylance|ms-|2021.1.1 jupyter|ms-|2020.12.414227025 remote-containers|ms-|0.154.2 remote-ssh|ms-|0.62.0 remote-ssh-edit|ms-|0.62.0 remote-wsl|ms-|0.52.0 vscode-remote-extensionpack|ms-|0.20.0 cmake-tools|ms-|1.5.3 cpptools|ms-|1.1.3 powershell|ms-|2020.6.0 vsliveshare|ms-|1.0.3484 vsliveshare-audio|ms-|0.1.91 vsliveshare-pack|ms-|0.4.0 sqltools|mtx|0.23.0 sqltools-driver-mysql|mtx|0.2.0 sqltools-driver-sqlite|mtx|0.2.0 repeat-paste|nwb|0.0.1 vetur|oct|0.31.3 oracledevtools|Ora|19.3.3 vscode-jest|Ort|3.2.0 vscode-auto-scroll|pej|1.0.4 vscode-gitignore-generator|pio|1.0.2 gotestexplorer|pre|0.1.13 quicktype|qui|12.0.46 java|red|0.73.0 vscode-yaml|red|0.14.0 bash-debug|rog|0.3.9 scala|sca|0.5.0 vue-vscode-snippets|sdr|2.1.5 cjk-word-handler|Sha|0.1.1 vscode-checkstyle|she|1.3.3 vscode-taskexplorer|spm|1.27.0 cython|tcw|0.1.0 pdf|tom|1.1.0 cmake|twx|0.0.17 sort-lines|Tyr|1.9.0 vscode-redis|vit|2.0.1 vscode-java-dependency|vsc|0.16.0 vscode-java-pack|vsc|0.12.1 sync-rsync|vsc|0.36.0 vscode-icons|vsc|11.1.0 snippet|vsc|0.8.1 vuetify-vscode|vue|0.2.0 gitblame|wad|6.0.2 clang-format|xav|1.9.0 markdown-pdf|yza|1.4.4 json|Zai|2.0.2 vscode-proto3|zxh|0.5.3 (1 theme extensions excluded)A/B Experiments
``` vsliv368:30146709 vsreu685:30147344 openlogontheside:30221877 python383:30185418 vspyt653:30244269 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30211402 wsl2promptcf:30224613 vstry244:30244299 pythonvsdeb440:30242242 unusedpromptcf:30224611 folderexplorer:30224614 openfilemenucf:30224648 pythonvsded773cf:30236630 pythonvspyt875:30241730 vsjup459cf:30237188 ```This pic is what happens fine after right clicking on left half:
When clicking on right half the item would be selected immediately on right click.