Delay setting the model on the view until listing is finished.

Authored by hein on Feb 10 2017, 11:56 AM.

Description

Delay setting the model on the view until listing is finished.

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 D4343.

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D4344

Details

Committed
heinFeb 10 2017, 11:56 AM
Reviewer
Plasma
Differential Revision
D4344: Delay setting the model on the view until listing is finished.
Parents
R119:99c903059f59: Greatly improve Folder View performance and mem usage.
Branches
Unknown
Tags
Unknown