Bug 376671

Summary: Folder select dialog doesn't show start folder
Product: [Unmaintained] kfile Reporter: picotmathieu
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description picotmathieu 2017-02-19 14:27:44 UTC
When a program calls a file picker with the ShowDirsOnly option, if the startdir is at least the third starting from root (for example: /home/user/xxx), this startdir is well selected, but user can't see it directly in dialog, he has to drop down to this folder.

An easy way to see this is to use kdialog (>=5).
just type:
kdialog --getexistingdirectory /home/$USER/Documents

Note that it's not a bug from kdialog because this affects all program calling kde file pickers, I tried it with python3-qt5 and didn't find any workaround.

but if startdir is /home/user or usr/share or anything else far from 2 folders from  the root, it's well.

I show that on neon, and on kubuntu 16.04 with kubuntu backports (not with kdialog on kubuntu because kdialog here uses Qt4).
Comment 1 Christoph Feck 2017-02-22 23:57:14 UTC
Cannot reproduce with kdialog/master and kio/master. The specified folder is displayed.
Comment 2 Nate Graham 2017-11-28 20:56:50 UTC
Marking as fixed per last comment. If anyone can reproduce, please leave a comment.