D26721: Partially fixes https://bugs.kde.org/show_bug.cgi?id=415698.
Nikolai Krasheninnikov
noreply at phabricator.kde.org
Fri Jan 17 09:45:37 GMT 2020
nikolaik created this revision.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
nikolaik requested review of this revision.
REVISION SUMMARY
BUG: 415698
Fixes multiple VCS plugin beginRetrival()/endRetrival()/itemVersion() calls on single directory update.
When VCS pluging finished gathering directory information VersionControlObserver::slotThreadFinished() calls KFileItemModel::setData() on each entry with appropriate item VCS information.
This in turn emits KFileItemModel::itemsChanged() which is connected with VersionControlObserver::delayedDirectoryVerification() which is starting to gather VCS directory information again.
This commits breaks the vicious circle.
REPOSITORY
R318 Dolphin
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D26721
AFFECTED FILES
src/views/versioncontrol/versioncontrolobserver.cpp
To: nikolaik
Cc: kfm-devel, pberestov, iasensio, fprice, MrPepe, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, ngraham, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200117/75fd023d/attachment.htm>
More information about the kfm-devel
mailing list