Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.8.0
-
None
-
Windows OS Family
Description
QQuickFolderListModel under Windows doesn't remove watchers on folder during changing path.
Error occurred into:
void QQuickFolderListModel::setFolder(const QUrl &folder)
lines:
if (!d->currentDir.isEmpty())
d->fileInfoThread.removePath(d->currentDir.path());
should replace(as example):
if (!d->currentDir.isEmpty()) { if (d->currentDir.isLocalFile()) { d->fileInfoThread.removePath(d->currentDir.toLocalFile()); } else { d->fileInfoThread.removePath(d->currentDir.path()); } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-98147 folderlistmodel holds the folder open even after changing, prevents ejecting removable devices
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-59279 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
638241,1 | FolderListModel folder change: stop watching previous non-local path | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |