Bug 437934 - GTK_USE_PORTAL=1 doesn't work
Summary: GTK_USE_PORTAL=1 doesn't work
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-01 05:47 UTC by Toadfield
Modified: 2021-06-15 23:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toadfield 2021-06-01 05:47:27 UTC
GTK applications use a different file dialog than the kde file dialog,but I don't like that,so I enabled GTK_USE_PORTAL=1,cause that should apply the kde file dialog for all applications.
But that it doesn't work,if I put GTK_USE_PORTAL=1 in .profile and re login,then the GTK apps stile use the GTK file dialog.
Comment 1 Nate Graham 2021-06-15 23:35:01 UTC
Each GTK applications needs to support this by using the GtkFileChooserNative API (https://developer.gnome.org/gtk3/stable/gtk3-GtkFileChooserNative.html). If they support that, they they will respond to the GTK_USE_PORTAL=1 environment variable; if they do not, then they won't, and your only option is to ask the developers of the app in question to the right API.