Bug 435276

Summary: Some apps launch file selector instead of folder selector
Product: [Applications] kdialog Reporter: medin <med.medin.2014>
Component: generalAssignee: Brad Hards <bradh>
Status: RESOLVED DUPLICATE    
Severity: major CC: bharadwaj.raju777
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Firefox
Meld
DBeaver

Description medin 2021-04-02 18:51:11 UTC
Created attachment 137280 [details]
Firefox

With Java apps (SWT), Thunderbird, Firefox and some GTK3 apps (Meld)  I can't select folder because instead of showing folder selector I get only file selector. See attached images for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.4.105-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Comment 1 medin 2021-04-02 18:51:35 UTC
Created attachment 137281 [details]
Meld
Comment 2 medin 2021-04-02 18:52:04 UTC
Created attachment 137282 [details]
DBeaver
Comment 3 Bharadwaj Raju 2021-05-14 11:48:19 UTC

*** This bug has been marked as a duplicate of bug 419874 ***
Comment 4 medin 2021-05-14 12:33:13 UTC
This has no relation with flatpack. Its happens with pure GTK3 and Java apps.
Comment 5 Bharadwaj Raju 2021-05-14 12:35:48 UTC
(In reply to medin from comment #4)
> This has no relation with flatpack. Its happens with pure GTK3 and Java apps.

The bug is in the xdg-desktop-portal stack, which even normal non-Flatpak Gtk3 (and Java I guess) apps use if configured to do so.
Comment 6 medin 2021-05-14 12:37:58 UTC
(In reply to Bharadwaj Raju from comment #5)
> (In reply to medin from comment #4)
> > This has no relation with flatpack. Its happens with pure GTK3 and Java apps.
> 
> The bug is in the xdg-desktop-portal stack, which even normal non-Flatpak
> Gtk3 (and Java I guess) apps use if configured to do so.

Thanks :)
Comment 7 Bharadwaj Raju 2021-05-14 14:28:10 UTC
So is it OK to mark this as duplicate now? There's an MR to fix it too: https://invent.kde.org/frameworks/kio/-/merge_requests/445
Comment 8 medin 2021-05-14 15:32:04 UTC

*** This bug has been marked as a duplicate of bug 419874 ***