Bug 433251

Summary: That the qt download dialog gets used in gtk programs
Product: [I don't know] kde Reporter: Toadfield <toadfield>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: nicolas.fella
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Toadfield 2021-02-19 14:58:33 UTC
If a gtk program wants to download something then it opens that ugly gtk download dialog instead of the qt dialog.
There is already a way to enable that only the qt dialog pops up,it is also possible to do that globally with an env var that I forgot.
But I want that that's enabled by default in kde,cause everyone hates the gtk download dialog.
Comment 1 2wxsy58236r3 2021-02-20 06:01:37 UTC
The GTK_USE_PORTAL=1 environment variable can help you.

Note that you need to have the xdg-desktop-portal-kde package installed.
Comment 2 Nicolas Fella 2021-02-20 11:06:39 UTC
GTK_USE_PORTAL=1 works, but only for apps that implement xdg portals. It's not KDE's job to fix all third party applications, that's up to the app developers and/or GTK to implement a generic solution
Comment 3 2wxsy58236r3 2021-02-20 14:27:52 UTC
> It's not KDE's job to fix all third party applications

I guess the bug reporter wants KDE to automatically set GTK_USE_PORTAL=1 so that apps that implement xdg portals can use KDE file dialog.
Comment 4 Toadfield 2021-06-15 13:44:26 UTC
(In reply to 2wxsy58236r3 from comment #3)
> > It's not KDE's job to fix all third party applications
> 
> I guess the bug reporter wants KDE to automatically set GTK_USE_PORTAL=1 so
> that apps that implement xdg portals can use KDE file dialog.

Yea,that is what I meant.