[Differential] [Request, 24 lines] D4344: Delay setting the model on the view until listing is finished.
Eike Hein
noreply at phabricator.kde.org
Mon Jan 30 10:01:47 UTC 2017
hein created this revision.
hein added a reviewer: Plasma.
hein added a subscriber: plasma-devel.
hein added a dependency: D4343: Greatly improve Folder View performance and mem usage..
Restricted Application added a project: Plasma.
REVISION SUMMARY
This massively cuts down on churn when instanciating a Folder View
configured to a large folder as the changing data set causes the
view to do a large amount of costly work.
A 7x6 Folder View pointed at /usr/bin would block Plasma during
startup for anywhere between 1-4 seconds depending on disk caches
(on a SSD). Now startup is hitch free, and even listing completes
much faster without the view slowing things down.
The widget is set to busy while listing.
Depends on https://phabricator.kde.org/D4343.
REPOSITORY
R119 Plasma Desktop
BRANCH
hein/fastFolders
REVISION DETAIL
https://phabricator.kde.org/D4344
AFFECTED FILES
containments/desktop/package/contents/ui/AppletAppearance.qml
containments/desktop/package/contents/ui/FolderView.qml
containments/desktop/plugins/folder/foldermodel.cpp
containments/desktop/plugins/folder/foldermodel.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: hein, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170130/c7586fd9/attachment.html>
More information about the Plasma-devel
mailing list