microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.69k stars 28.69k forks source link

Open dialog open behind all windows on Linux #212530

Closed rajinder-yadav closed 4 months ago

rajinder-yadav commented 4 months ago

Type: Bug

On Linux, when opening a file dialog to load or save a file, the file dialog also opens behind all open windows and also don't have keyboard focus. So hitting escape will not close it.

This causes a confusion because you can no longer click inside vscode and it becomes unresponsive.

Fix for:

  1. Open a file
  2. Saving a file
  3. Save as

VS Code version: Code - Insiders 1.90.0-insider (5f78b58b57b7cf84d28d801fed6bb4a48f908601, 2024-05-09T05:49:30.907Z) OS version: Linux x64 6.8.8-1-default Modes:

Operating System: openSUSE Tumbleweed 20240509 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.8-1-default (64-bit) Graphics Platform: X11 Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2 Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7A38 System Version: 8.0

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 5900X 12-Core Processor (24 x 3999)| |GPU Status|2d_canvas: enabled
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|0, 0, 0| |Memory (System)|62.71GB (45.24GB free)| |Process Argv|. --crash-reporter-id 210d9130-10f4-4cf9-ad76-187d60112fd6| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|plasma6| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|KDE| |XDG_SESSION_TYPE|x11|
Extensions (52) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.5.0 ng-template|Ang|17.3.2 markdown-preview-github-styles|bie|2.0.4 biome|bio|2.2.2 npm-intellisense|chr|1.4.5 path-intellisense|chr|2.8.5 vscode-markdownlint|Dav|0.55.0 vscode-eslint|dba|2.4.4 java-decompiler|dgi|0.0.4 java-debug|DSn|0.0.2 EditorConfig|Edi|0.16.4 rest-client|hum|0.25.1 ionic|Ion|1.85.5 java-properties|ith|0.0.2 plantuml|jeb|2.18.1 angular-file-changer|joh|0.0.4 vscode-peacock|joh|4.2.2 sort-typescript-imports|mic|1.4.1 vscode-docker|ms-|1.29.1 playwright|ms-|1.0.22 cpptools|ms-|1.20.5 js-debug-nightly|ms-|2024.5.217 live-server|ms-|0.4.13 angular2-inline|nat|0.0.17 platformio-ide|pla|3.3.3 java-ide-pack|pve|1.2.1 java|red|1.30.0 vscode-commons|red|0.0.6 vscode-community-server-connector|red|0.26.16 vscode-rsp-ui|red|0.24.11 vscode-xml|red|0.26.1 vscode-yaml|red|1.14.0 markdown-preview-enhanced|shd|0.8.13 vscode-checkstyle|she|1.4.2 java-generate-setters-getters|soh|8.0.1 tailwind-fold|sti|0.1.0 sass-indented|syl|1.8.29 find-then-jump|tra|2.0.5 sort-lines|Tyr|1.11.0 vscode-boot-dev-pack|vmw|0.2.1 vscode-spring-boot|vmw|1.54.0 vscode-gradle|vsc|3.13.2024011802 vscode-java-debug|vsc|0.57.0 vscode-java-dependency|vsc|0.23.6 vscode-java-pack|vsc|0.26.0 vscode-java-test|vsc|0.41.1 vscode-lombok|vsc|1.1.0 vscode-maven|vsc|0.44.0 vscode-spring-boot-dashboard|vsc|0.13.1 vscode-spring-initializr|vsc|0.11.2 markdown-pdf|yza|1.5.0 vscode-aspell|zap|0.1.4 (8 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 tftest:31042121 vsc_aa:30263845 vscod805cf:30301675 vsaa593cf:30376535 py29gd2263:31024238 c4g48928:30535728 2i9eh265:30646982 962ge761:30841072 pythongtdpath:30726887 welcomedialog:30812478 pythonidxpt:30768918 pythonnoceb:30776497 asynctok:30898717 dsvsc013:30777762 dsvsc014:30777825 dsvsc015:30821418 pythontestfixt:30866404 pythonregdiag2:30926734 pyreplss1:30879911 pythonmypyd1:30859725 pythoncet0:30859736 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 cppperfnew:30980852 pythonait:30973460 showvideot:31016890 chatpanelt:31014475 01bff139:31013167 a69g1124:31018687 dvdeprecation:31040973 pythonprt:31036556 dwnewjupytercf:31039676 ```
gjsjohnmurray commented 4 months ago

/duplicate please see https://github.com/microsoft/vscode/issues/146422#issuecomment-1172448048

VSCodeTriageBot commented 4 months ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!