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:
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.
|For Gerrit Dashboard: QTBUG-56663
|DefaultFileDialog: check cur selection properly on okButton clicked