- 
    Suggestion 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.14
- 
    Windows 7 
- 
        
- 
        4ec8c0700cd0e6bc1b2dfb08fff5e9e15288e047 (qt/qtdeclarative/dev) 7ee5b3536d5c6d8ab6e6de07b6032e0a35194961 (qt/qtdeclarative/6.2) a641e8ef74b8f2ad9dea03bdb7cc8c7c3c70e75e (qt/qtquickcontrols2/6.1)
The FolderDialog from Qt.labs.platform 1.1 works with the native Windows dialog box, but has a minor anomaly. If I select a folder name within a folder, so that its name appears in the "Folder:" box at the bottom, and then click the accept button, it returns the containing folder, not the one I selected. I have to actually go into that folder and click the accept button. It would perhaps be better if, when clicking the accept button, if there's something in the "Folder:" box, setting the folder property to that before emitting the "accepted" signal.
It is also expected if 'Folder' is set to “C:/folder1”, and 'currentFolder' to “C:/folder1/folder2”, it is expected to pre-select 'folder2'.
Please refer to the attached sample.
 
| For Gerrit Dashboard: QTBUG-76860 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 274694,2 | QQuickPlatformFolderDialog: Allow opening selected folder | 5.13 | qt/qtquickcontrols2 | Status: ABANDONED | -1 | 0 | 
| 365009,3 | QQuickPlatformFolderDialog: Allow opening selected folder | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 | 
| 365132,1 | QQuickPlatformFolderDialog: Allow opening selected folder | 6.1 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 | 
| 365134,2 | QQuickPlatformFolderDialog: Allow opening selected folder | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 | 
| 365273,2 | QQuickPlatformFolderDialog: Allow opening selected folder | 6.1 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |