Bug 155542 - Drawing artifacts sometimes occur on hovered icon when zooming
Summary: Drawing artifacts sometimes occur on hovered icon when zooming
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-12 17:59 UTC by David Benjamin
Modified: 2008-01-18 22:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of artifact (5.95 KB, image/png)
2008-01-12 18:00 UTC, David Benjamin
Details

Note You need to log in before you can comment on or make changes to this bug.
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