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
XDG portal dialogs not used (Linux) #149909
Comments
Ah, and minutes later it is clear what the problem is: The author of the electron patch has created a helpful blog entry https://tristan.partin.io/blog/2021/04/01/electron-linux-and-your-file-chooser/ in which he writes: "I open a handle to libgtk-3.so" The linked commit electron/electron@fa65faa confirms that. That's all nice and dandy if the Linux installation actually has Well, Fedora 36 does not have
Solution:
|
Request to vscode folks: You are well-connected to electron. May I kindly ask that you relay the problem with the test for |
https://begriffs.com/posts/2021-07-04-shared-libraries.html has some word on .so-versioning:
So, according to that, ".so" plain should be expected only at build time, not as delivered on an installed (distribution) Linux. To that extent, the electron patch possibly really should be amended. |
FYI electron/electron#31258 on the electron side documents their discovery. |
Addressed in electron/electron@37b7e34 |
Issue Type: Bug
vscode does not use the XDG portal dialogs, but "other" dialogs.
This means, for instance, that on an X11 KDE Desktop, the KDE dialogs are not used, but "something else" (apparently GTK / Gnome).
On this very same system, Firefox happily makes use of the XDG portal dialogs.
The screenshot shows Firefox (right) with the "Portal" dialog (see the title bar!); on the left, notice vscode bringing up something different (i.e. not the XDG portal dialog).
Both the installation of vscode and firefox are "native" (i.e. not flatpak, snap or anything) on Fedora 36.
As firefox (and chrome) do the right thing, I suppose the environment is configured correctly; specifically I do have
Further, electron is said to have support for this (electron/electron#2911) as of version 14; vscode currently uses electron 17. See also for details at https://tristan.partin.io/blog/2021/04/01/electron-linux-and-your-file-chooser/
VS Code version: Code 1.67.2 (c3511e6, 2022-05-17T18:23:40.286Z)
OS version: Linux x64 5.17.7-300.fc36.x86_64
Restricted Mode: No
The text was updated successfully, but these errors were encountered: