-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
File dialogs don't open #221836
Comments
Alright, I did a bisect between 1.89.1 and 1.90.0, and it pinpointed 28ebd91 as the buggy commit. Seems like this is probably an electron bug (not overly surprising, given the behavior). |
@deepak1556 what's the next step on this? I'm not sure how to get any debug information from electron itself to understand what's going wrong here. |
I am also experiencing this issue on latest GNOME desktop. However, there is a strange behaviour where attempting to use |
@333fred can you check if the issue is present with our insiders https://code.visualstudio.com/insiders |
@deepak1556 the insiders release does not resolve the issue for me:
|
Insiders appears to solve this for me, I'll close this out. @jpetrina, to avoid getting confused, I would probably suggest opening a separate issue for your symptoms specifically. |
@deepak1556 sorry to reopen, but while this is once again working on one of my machines, I'm seeing it still be an issue on another, and insiders (Version: 1.93.0-insider ff8504a) is not working either. |
Very likely related to the runtime version revert #223494, will revisit this again once we update to newer Electron version. |
Just adding some information about the issue I submitted that was merged here. If I kill xdg-desktop-portal-gnome everything starts working again. This was breaking save as dialogs in all Chromium-based browsers as well, which also started working again without the gnome portal running. |
I am not sure if it is related or this needs to be another issue, but |
@ThanasisMattas the issue you referring was tracked in #213780 which should be fixed in latest insiders. We have brought back the runtime update that address this issue, closing as fixed. @333fred can you help verify if the issue is addressed with our latest insiders which you install from https://code.visualstudio.com/insiders |
File dialogs appear in front for me in Ubuntu for a while now, marking as verified. |
Testing with insiders, I can indeed open file dialogs, on the same machine that 1.93.1 does not work on. Thanks deepak! |
Now that 1.94.0 is out and I've tested locally, I can confirm this is fixed in stable as well. Thanks! |
I'm on Ubuntu 24.04.1 LTS (Kubuntu, recent update, about a week ago) and vscode 1.94.0 and got this issue all of a sudden today. I copied some text into a new tab, tried to save it and the dialog froze. I killed that, and from that point on I could neither close the tab nor save the file. I did a reboot, and the problem is still there. I ran Weirdly, as I'm typing this, a dialog asking me if I want to save changes showed up again, probably a minute or two after I tried to close the file, but I'm in a weird state so will reboot again and post back. Posting back post reboot: Try to save file, get this in output:
No dialog visible however, so try again, and get:
Yet no dialog visible. File save dialogs work fine in other applications. |
I tried code-insiders at 1.95.0 but that behaved weirdly. It's slow to open file dialogs, and eventually crashes, and a few minutes later I get a "KDialog closed unexpectedly" tray notification which I'm presuming came from that (I didn't kill anything myself). |
I uninstalled vscode which was installed by snap and downloaded the 1.93.1 as a .deb from the homepage, installed that with APT and that fixed the issue. So I thought I'd uninstall 1.93.1 and install 1.94.0 the same way, and it works. So either uninstalling and reinstalling fixed the issue, or it was the snap installation that was broken. Either way, that's a work-around for people experiencing this on Linux. |
On Kubuntu 24.04 and Snap VSCode 1.94.2, doing As @andyhasit mentioned, I uninstalled the snap version and installed the .deb package: ... and ... and I get the same problem I mentioned at the start. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Not sure what exact combination of Ubuntu/i3/Nautilus is required to trigger this issue, but what I'm seeing is that
File->Open File
andFile->Open Folder
simply do nothing. There's no popup window, no error messages in dev tools, nothing. I've copied some of the output ofcode --disable-extensions --verbose --log trace
below, in case there's something helpful in them, but I certainly don't see anything I could use to troubleshoot. If there's anything else I can provide to help figure out what's going on here, I'm happy to do so. This does work in 1.89.1, but not in 1.90.2.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
skia_graphite: disabled_off
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: