Revision daf12b8...

Go back to digest for 24th February 2013

Bug Fixes in KDE Base

Frank Reininghaus committed changes in [kde-baseapps/KDE/4.10] dolphin/src/kitemviews/kstandarditemlistview.cpp:

Prevent repeated re-layouting of all items while previews are generated

There was some code in KStandardItemListView::itemSizeHintUpdateRequired
already that was supposed to prevent an expensive re-layouting of all
items when a preview is received. However, it didn't quite work as
intended because also the "iconOverlays" role changed.

The new approach is to only re-layout if text of a visible role changes,
because this is the only way how the space needed by an item might
change (see KStandardItemListWidgetInformant::itemSizeHint()).


FIXED-IN: 4.10.1
REVIEW: 108984

File Changes

Modified 1 files
  • dolphin/src/kitemviews/kstandarditemlistview.cpp
1 files changed in total