Revision 381b179...
Go back to digest for 18th August 2013Optimization in KDE Base
Frank Reininghaus committed changes in [kde-baseapps/KDE/4.11] /src/kitemviews:
Fix slow scrolling when hidden files or symbolic links are shown
The problem was that we drawed the overlays using KIconLoader, which can
be very slow, every time an item appeared on the screen. This commit
makes sure that not only the icon, but the icon including overlays is
cached in QPixmapCache. Therefore, the overlay drawing is done just once
for each icon+overlays combination.
For previews, the overlay drawing is done in KFileItemModelRolesUpdater
just after the preview is received.
FIXED-IN: 4.11.1
REVIEW: 111956
File Changes
Modified 3 files
- /src/kitemviews
- dolphin/kfileitemmodelrolesupdater.cpp
- dolphin/kstandarditemlistwidget.cpp
- dolphin/kstandarditemlistwidget.h
3 files changed in total