D23460: Always periodically dispatch pending items

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Aug 26 08:53:46 BST 2019


broulik created this revision.
broulik added a reviewer: Dolphin.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
broulik requested review of this revision.

REVISION SUMMARY
  "Local" URLs can also be slow.
  This might jeopardize loading large local directories where a resorting could take place but imho it's better than leaving the user wondering when files will finally show up. However, it takes some time for `KDirLister` to initially signal items having been added, and only then our 2 second timer starts.
  Also, stop the timer when loading has completed.

TEST PLAN
  - Entered a very slow mount, got files to show up periodically. The first time it takes like five seconds but after that you get files in a steady 2 second pace

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D23460

AFFECTED FILES
  src/kitemviews/kfileitemmodel.cpp
  src/kitemviews/kfileitemmodel.h

To: broulik, #dolphin
Cc: kfm-devel, aprcela, vmarinescu, fprice, MrPepe, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190826/9a8d2997/attachment.htm>


More information about the kfm-devel mailing list