Skip to content
  • Eike Hein's avatar
    Delay setting the model on the view until listing is finished. · 7fd62b59
    Eike Hein authored
    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
    7fd62b59