D5774: speed up detail treeview display by avoiding too many column resizes

Martin Koller noreply at phabricator.kde.org
Mon May 8 17:43:06 UTC 2017


mkoller created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  This patch basically delays the connect to the layoutChanged model signal until it emits its completed() signal.
  Therefore the many calls for the expensive expandNameColumn() method are avoided.
  
  This fixes bug https://bugs.kde.org/show_bug.cgi?id=346403
  (how to define this bug to be related in phabricator I don't know)

TEST PLAN
  kdialog --getsavefilename /tmp
  where my /tmp is not really large (~570 files)

REPOSITORY
  R241 KIO

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

AFFECTED FILES
  src/filewidgets/kdiroperatordetailview.cpp
  src/filewidgets/kdiroperatordetailview_p.h

To: mkoller, dfaure
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170508/e84be4d8/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list