[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Bug#4302: icon view - icons move
From:       David Faure <faure () clara ! co ! uk>
Date:       2000-06-02 21:20:50
[Download RAW message or body]

On Wed, May 31, 2000 at 03:50:16AM -0500, David Faure wrote:
> On Tue, May 30, 2000 at 10:58:13PM +0200, Ferdinand Gassauer wrote:
> > Package: konqueror
> > Version: 1.9.2 (KDE 1.90 Beta >= 20000517)
> > Severity: normal
> > 
> > Hi!
> > settings - image preview on
> > when moving the mouse over the icons, some icons including the text tend move a little bit -why ?
> I've noticed this. The reason: the new "active" state effect (see Icons 
> configuration) means that the icon is redrawn everytime the mouse is over
> a new icon. With image preview, it re-sets the image, which is not a good thing
> to do (and leads to this small QIconView bug apparently).
> 
> The fix : to avoid the unnecessary setIcon call when the icon is in fact
> an image preview one (which requires to save that information in KonqFileItem).
> (this more a workaround than a fix, but re-reading the image preview
> is a waste of time anyway)

Just found an easier fix - avoiding layout recalculation. Applied.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic