Revision 52a38ee...

Go back to digest for 28th April 2013

Features in KDE Base

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

Always determine icons for the visible items first

When entering a folder, KFileItemModelRolesUpdater has not yet been
informed about the visible index range by the view when it tries to
determine icons synchronously. This resulted in the problem that it
tried to determine icons for all items in random order, and some visible
icons were somtimes still unknown after the "synchronous icon loading"
timeout of 200 ms.

This commit tries to improve the situation by loading icons starting
with the first item in increasing order. This should make it less likely
that some visible items still have unknown icons after 200 ms.


FIXED-IN: 4.10.3
REVIEW: 109843

File Changes

Modified 5 files
  • /src/kitemviews
  •   dolphin/kfileitemlistview.cpp
  •   dolphin/kfileitemmodelrolesupdater.cpp
  •   dolphin/kfileitemmodelrolesupdater.h
  •   dolphin/kitemlistview.cpp
  •   dolphin/kitemlistview.h
5 files changed in total