Priority: P2: Important
Affects Version/s: 5.15.0
Fix Version/s: None
Component/s: Quick: Dialogs
1. qmlscene file-dialog-dir-handle.qml
2. click "Open Dialogs' FileDialog"
3. select file in grandchild directory (e.g. "foo/bar/baz.txt")
4. try to rename the top directory in explorer (e.g. "foo" -> "foo_")
Explorer complains that the folder is in use.
"The action can't be completed because the folder or a file in it is open in another program"
Destroying the FileDialog instance doesn't help.
Apparently, Qt.labs.platform's FileDialog does not have this problem.
I suspect that pure QML DefaultFileDialog instantiates FolderListModel even when
native file dialog is in use, and it keeps directory handle for long? But it's just a guess.