Bug 423321 - Cannot select folder in folder selector dialog
Summary: Cannot select folder in folder selector dialog
Status: RESOLVED DOWNSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.04.1
Platform: Manjaro Linux
: NOR critical
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-21 14:11 UTC by medin
Modified: 2020-06-23 04:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Folder selector bug (1.56 MB, video/mp4)
2020-06-22 16:36 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2020-06-21 14:11:23 UTC
When opening an app (like Eclipse Installer) that needs to select a folder, the folder selector dialog cannot take any folder, I think the file selector dialog is opened instead of folder selector dialog.

Operating System: Manjaro Linux 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.7.0-3-MANJARO
OS Type: 64-bit
Comment 1 Nate Graham 2020-06-22 16:23:23 UTC
Can you provide a screenshot of the defective folder selector dialog?
Comment 2 medin 2020-06-22 16:36:13 UTC
Created attachment 129590 [details]
Folder selector bug

Here's video that shows how Eclipse Installer instead of opening folder selector it opens file selector.
Comment 3 Nate Graham 2020-06-22 17:37:35 UTC
Thanks, that's helpful! It lets me see that this is clearly an Eclipse bug: it's asking for a file dialog, not a folder dialog--so that explains why folders aren't selectable. :) Please report this to the Eclipse developers. Thanks again!
Comment 4 medin 2020-06-22 19:14:08 UTC
No, Eclipse Installer works perfectly with folder selection on Windows 10, Ubuntu Mate and Ubuntu GNOME3, the problem exists only on KDE.
Comment 5 medin 2020-06-22 19:21:02 UTC
The same problem can be spotted on Meld when trying to select folders to be compared. But if I force GTK3 file/folder selector instead of KDE file/folder selector it works perfectly.
Comment 6 medin 2020-06-22 19:30:28 UTC
If I launch Eclipse Installer or Meld with "env --unset GTK_USE_PORTAL" then GTK folder selection is used instead of KDE folder selection dialog and it works perfectly.
Comment 7 Christoph Feck 2020-06-23 04:17:20 UTC
Then it's a bug in the code that maps GTK dialog to KDE dialogs. The "kdialog" tool has a mode to get directories:

kdialog --getexistingdirectory /