Bug 155542

Summary: Drawing artifacts sometimes occur on hovered icon when zooming
Product: dolphin Reporter: David Benjamin <davidben>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Ubuntu Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of artifact

Description David Benjamin 2008-01-12 17:59:18 UTC
Version:            (using KDE KDE 4.0.0)
Installed from:    Ubuntu Packages
OS:                Linux

The hovered icon sometimes fails to redraw at the right size when zooming in and out. Unfortunately, I can't find the exact cause to reproduce it --- it happens about 40% of the time. I'm still looking to find a reliable way to reproduce it.

Steps to (sometimes) Reproduce:
1. Zoom in all the way
2. Unhover the current icon, and hover the top-left icon. (It happens most with this one)
3. Place the mouse somewhere near the middle (More likely to occur, seems)
4. Press Ctrl -

The hovered icon remains large while the other icons shrink.
Comment 1 David Benjamin 2008-01-12 18:00:11 UTC
Created attachment 22967 [details]
Screenshot of artifact
Comment 2 Peter Penz 2008-01-18 22:12:22 UTC
SVN commit 763191 by ppenz:

Only use the cache if the size is equal to the current item size. This fixes drawing artifacts when zooming in or out inside Dolphin or Konqi.

CCMAIL: fredrik@kde.org
BUG: 155542



 M  +5 -2      kfileitemdelegate.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=763191