-
Notifications
You must be signed in to change notification settings - Fork 36
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
GTK_USE_PORTAL=1 is ignored by Sublime Text 3 #4087
Comments
Fixed in build 4103. |
@BenjaminSchaaf there's still the issue of Sublime Text opening the picker to a default folder rather than the folder than contains the currently opened file as occurs with the GTK picker and on other operating systems. Can this be remedied? It's the only reason we haven't implemented I believe it's related to the "show on startup" setting: Edit: Actually, never mind - it seems to make no difference |
@slapbox we use the same GTK API to set the initial directory regardless of whether the builtin dialog or portal is used. If that's not working that's an issue either with GTK or your setup. |
Presumably it's a |
@slapbox Nope, the |
Thanks for the reply @BenjaminSchaaf. I can't imagine that there's anything wrong with our GTK setup. It's an entirely stable development machine with only minimal customizations made. The file picker always defaults to the directory that was last opened when we use Does anyone on the Sublime team use KDE who would be able to do an independent test? If so, on Kubuntu 22.10, the file that needs to be modified is Or is there anything else you would recommend we try? I know this is a bit beyond the scope of the issue tracker so I understand if you can't offer any additional advice. Thanks for reading! |
Sounds like it could be an issue with: https://invent.kde.org/plasma/xdg-desktop-portal-kde, might be best to ask there. |
Thanks again for your help @BenjaminSchaaf! I found the most relevant issue here: flatpak/xdg-desktop-portal#874 For whatever little a thumbs-up is worth, I'd appreciate if you could add one to that issue! |
Description
Sublime Text 3 uses horrendous GTK default picker, when the environmental variable forces to use one provided by current xdg-desktop-portal, in my case KDE file picker.
Steps to reproduce
Expected behavior
KDE File picker shows up.
Actual behavior
I get the GNOME/GTK file picker.
Any application(including firefox and other gtk apps on the left). Sublime Text 3 on the right.
Environment
The text was updated successfully, but these errors were encountered: