Summary: | scrolling in dolphin is really slow when hidden files are shown | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Alex Levkovich <alevkovich> |
Component: | view-engine: icons mode | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | oldwhitemansays |
Priority: | NOR | ||
Version: | 2.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/381b17964d49259955eb5c5e537d290b26c162ef | Version Fixed In: | 4.11.1 |
Sentry Crash Report: |
Description
Alex Levkovich
2013-02-03 08:21:46 UTC
Thanks for the bug report. Sounds like bug 310662, even though that bug only mentions hidden symlinks. I have same issue, tested on KDE 4.8.*-4.10.1 with Gentoo, OpenSuse LiveCD on different computers with ATI's close and open sourced drivers + intel. Compositing OpenGL, graphics system - raster. I thought everybody have this issue, but it seems somebody just have it and somebody not, just like here https://bugs.kde.org/show_bug.cgi?id=233583 Video proof: http://yadi.sk/d/VHrjxNPW393nc Same results in compact and details view mode. Git commit 381b17964d49259955eb5c5e537d290b26c162ef by Frank Reininghaus. Committed on 14/08/2013 at 21:44. Pushed by freininghaus into branch 'KDE/4.11'. 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. Related: bug 310662 FIXED-IN: 4.11.1 REVIEW: 111956 M +16 -0 dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp M +18 -19 dolphin/src/kitemviews/kstandarditemlistwidget.cpp M +1 -1 dolphin/src/kitemviews/kstandarditemlistwidget.h http://commits.kde.org/kde-baseapps/381b17964d49259955eb5c5e537d290b26c162ef |