D7586: [Folder View] Delay delegate creation until plasmoid expands
Kai Uwe Broulik
noreply at phabricator.kde.org
Mon Aug 28 14:46:59 UTC 2017
broulik created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
In Plasma expanded representation is created only on demand but since Folder View is used as containment and already massively complex, all of this is created right away. To speed up startup, delay setting the model until the applet is expanded.
TEST PLAN
I have 6 FV applets in my panel set to various locations (Pictures, Trash, Home), my Plasma starts half a second faster after this change.
The listingCompleted property could be moved into the FolderModel
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D7586
AFFECTED FILES
containments/desktop/package/contents/ui/FolderView.qml
To: broulik, #plasma, hein
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170828/087485b9/attachment.html>
More information about the Plasma-devel
mailing list