Bug 435797 - File picker dialog cannot pick folders
Summary: File picker dialog cannot pick folders
Status: RESOLVED DUPLICATE of bug 419874
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-16 07:31 UTC by matthias.schrumpf
Modified: 2021-04-21 22:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthias.schrumpf 2021-04-16 07:31:10 UTC
SUMMARY
Some folder picking dialogs within applications do not allow folders as input. They will show no files to pick, but "Open" does nothing. 

STEPS TO REPRODUCE
For example, 
1. Open Firefox
2. Go to the standard download folder option in the settings
3. Click "Browse" and attempt to select a different folder.

OBSERVED RESULT
It is not possible to select a folder in the dialog. 

EXPECTED RESULT
It should be possible to select a folder in the file picking dialog. 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.9.16-1 Manjaro
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION 
Firefox has Plasma integration installed and the string /usr/lib/firefox/firefox %u as the command in the application settings menu to force it to use the Dolphin file picker. This problem comes up in many other applications as well.
Comment 1 Harald Sitter 2021-04-16 11:00:23 UTC
What are these many other applications?

Moving bug to portal for now since the firefox example might be a problem with the portal unless this also happens with native apps, then I guess KIO is to blame.
Comment 2 matthias.schrumpf 2021-04-16 16:35:47 UTC
(In reply to Harald Sitter from comment #1)
> What are these many other applications?
> 
> Moving bug to portal for now since the firefox example might be a problem
> with the portal unless this also happens with native apps, then I guess KIO
> is to blame.

Thank you. 
Just quickly scanning through my list of installed applications, Thunderbird, Telegram and Chromium have the same problem. They all have an option to set a standard folder path for downloads/received files. The file picker dialog will open, showing only folders and no files. It is possible to open folders, but not to select them. So one is always stuck with the preset folder.
Comment 3 Harald Sitter 2021-04-16 17:40:25 UTC
Conceivably they could all using the portal. At least for firefox I can reproduce the problem.
Comment 4 Nate Graham 2021-04-21 22:57:45 UTC

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