Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.0
-
None
-
Ubuntu 14.04 & 16.04 - Gnome, Unity & KDE
-
eb2df59fb203668734d652808c74b0504864cc1e
Description
When using the DefaultFileDialog.qml the open/save/etc. button does not open the selected file if there is a folder at the top of the list.
The dialog opens properly, but when a file is selected (that is not the first file on the list, so imagine:
FolderFoo
FolderFaa
FileToOpen
FileFoo
Then when clicking the open(or save) button the folder "FolderFoo" is opened in the dialog instead of calling the acceptSelection() function.
This happens for as long as it is not the first file in the list (change sorting for example to get it to the top) or that there are no subfolders left to enter.
Attached is a very simple project opening a FileDialog and having this effect.
Attachments
For Gerrit Dashboard: QTBUG-56663 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
176927,2 | DefaultFileDialog: check cur selection properly on okButton clicked | 5.6 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |