Bug 424438

Summary: Locations opens file selector instead of folder selector
Product: [Applications] systemsettings Reporter: medin <med.medin.2014>
Component: kcm_desktoppathAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate
Priority: NOR    
Version First Reported In: 5.19.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.18.6
Sentry Crash Report:
Attachments: Locations opens file selector instead of folder selector

Description medin 2020-07-19 21:44:01 UTC
Created attachment 130262 [details]
Locations opens file selector instead of  folder selector

When I go to Settings>Applications>Locations and click on a button to change a folder, I got the file selector opened instead of folder selector. See attached video for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.9-1-MANJARO
OS Type: 64-bit
Comment 1 Bug Janitor Service 2020-07-20 14:41:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/72
Comment 2 Nicolas Fella 2020-07-21 15:26:23 UTC
Git commit 404990056d02caff84c65dd4e94495a82e628885 by Nicolas Fella.
Committed on 21/07/2020 at 15:26.
Pushed by nicolasfella into branch 'master'.

[kcms/desktoppath] Use folder dialogs instead of file dialogs

Locations are folders. Set the appropriate hint in order to get folder dialogs.
FIXED-IN: 5.18.6

M  +21   -0    kcms/desktoppaths/globalpaths.ui

https://invent.kde.org/plasma/plasma-desktop/commit/404990056d02caff84c65dd4e94495a82e628885
Comment 3 Nicolas Fella 2020-07-21 15:34:45 UTC
Git commit f9e56dc705c48702ffe2fd26377bdfefdfcb27d1 by Nicolas Fella.
Committed on 21/07/2020 at 15:27.
Pushed by nicolasfella into branch 'Plasma/5.19'.

[kcms/desktoppath] Use folder dialogs instead of file dialogs

Locations are folders. Set the appropriate hint in order to get folder dialogs.
FIXED-IN: 5.18.6
(cherry picked from commit 404990056d02caff84c65dd4e94495a82e628885)

M  +21   -0    kcms/desktoppaths/globalpaths.ui

https://invent.kde.org/plasma/plasma-desktop/commit/f9e56dc705c48702ffe2fd26377bdfefdfcb27d1
Comment 4 Nicolas Fella 2020-07-21 15:41:42 UTC
Git commit 79ba2969da701868a772ca9f79f1a7248e9999a0 by Nicolas Fella.
Committed on 21/07/2020 at 15:36.
Pushed by nicolasfella into branch 'Plasma/5.18'.

[kcms/desktoppath] Use folder dialogs instead of file dialogs

Locations are folders. Set the appropriate hint in order to get folder dialogs.
FIXED-IN: 5.18.6
(cherry picked from commit 404990056d02caff84c65dd4e94495a82e628885)

M  +21   -0    kcms/desktoppaths/globalpaths.ui

https://invent.kde.org/plasma/plasma-desktop/commit/79ba2969da701868a772ca9f79f1a7248e9999a0