Skip to content

Open and save dialog opening behind main window #147400

Closed

Description

Issue Type: Bug

When clicking Ctrl-O to open a file or Ctrl-S or Ctrl-Shift-S to save a file, the dialog box to perform the action opens behind the editor window instead of on top.

This started happening after updating to 1.66. I've verified that if I downgrade to version 1.65.2-1646927742 the issue is not present. After upgrading to version 1.66.0-1648620611 the issue is present, and it exists in 1.66.1-1649257842 and 1.66.2-1649664567 as well.

I'm on Ubuntu 20.04.4 and I install code using the microsoft apt repository, specifically http://packages.microsoft.com/repos/code stable/main amd64 Packages.

I uninstalled all of my extensions and removed everything from my settings.json file to verify that neither of those things could be the issue.

Here's a gif showing this behavior: vscodebug

Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:24.808Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Linux x64 5.16.11-76051611-generic

VS Code version: Code 1.66.2 (dfd34e8, 2022-04-11T07:49:24.808Z)
OS version: Linux x64 5.16.11-76051611-generic
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
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
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 31.07GB (18.19GB free)
Process Argv --unity-launch --crash-reporter-id fe9565f5-58c9-4868-9a15-44278a047c88
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
pynewfile477:30463512

Activity

  1. bradym commented on Apr 13, 2022

    @bradym
    Author

    Just confirmed this is not limited to the keyboard shortcuts, it also happens when choosing these options from the File menu:

    image

  2. jherico commented on Apr 14, 2022

    @jherico

    I'm experiencing the same behavior since I switched back to using Linux as my main desktop in the past couple weeks. Whenever I do something that will trigger a dialog I see a desktop toast that says something like

    Visual Studio Code
    
    "Open File" is ready
    

    and then I can get to the dialog by clicking on the toast or by using the switch-window shortcut key. Currently running Ubuntu 22.04 pre-release, but I was seeing the same behavior in 20.04 before I upgraded yesterday.

    Code About dialog output

    Version: 1.66.2
    Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
    Date: 2022-04-11T07:49:24.808Z
    Electron: 17.2.0
    Chromium: 98.0.4758.109
    Node.js: 16.13.0
    V8: 9.8.177.11-electron.0
    OS: Linux x64 5.15.0-25-generic
    
  3. jherico commented on Apr 14, 2022

    @jherico

    Actually, this looks like a dupe of #146422

  4. bradym commented on Apr 15, 2022

    @bradym
    Author

    Oops, it is a dupe. I tried searching before posting this bug, but apparently my search foo is weak. I'll close this issue.

  5. locked and limited conversation to collaborators on May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions