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

List:       kde-core-devel
Subject:    Re: Support for animated icons (on mouseover)
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-01-17 21:27:06
[Download RAW message or body]

On Thursday 17 January 2002 21:57, Dirk Mueller wrote:
> - try hovering the trashcan on kdesktop - whoops!

Whoops indeed.

> - you only want this overlay when you use the icon in the same size. I have 
>   a smaller icon size, and the animated overlay is bigger - causing the 
>   hovered item to move under my mouse pointer, eventually flickering 
>   horribly and making it break the animation effect. 

Tackat promised he would make animations in the 3 available icon sizes.
This isn't a bug in my patch - the iconloader has been made tolerant about 
icon sizes on purpose.

> also, I'm wondering if we really want to recreate the QMovie on every item 
> during hovering. - it means reloading the file again from disk. It might be 
> better to cache it in the IconView itself and delay destruct it after using 
> (free it after 1 minute or so). it seems the people want a minimum inpact 
> animation - so we should make it at least a bit efficient. 

I was thinking about this too, tonight. This would allow to use the same 
animation for multiple items, if they have the same icon.

However this brings us back to the problem of rewinding the movie from any 
position to position 0, which Waldo said MNG had problems with.
Hmm. I see QMovie::restart(). That needs to be tested.

Well, I'll invest time into this only if it has any chance of going in (I 
know, chicken and egg problem now ;)....

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david, http://www.konqueror.org
KDE 3.0: Konquering the Desktops

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

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