Revision 6e1a877...

Go back to digest for 28th July 2013

Bug Fixes in KDE Base

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

Prevent that removing items can cause icons to overlap

When items are removed, new items may become visible because of that.
This includes

(a) Items *behind* the removed range. KItemListView may try to create
their widgets at their "imaginary" old positions and move them to
the new position with an animation.

(b) Items *before* the removed range, if the deletion causes the view
to scroll up. In that case, the "imaginary" old position and the new
position was equal, but KItemListView still tried to determine the
"old" position by adding the number of removed items to the index.
The result was that the widgets were created at completely wrong
positions, and no animation was started to fix this.

Thanks to Emmanuel for helping to find the cause of this bug!

FIXED-IN: 4.11.0
REVIEW: 111630

File Changes

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