Bug 127723

Summary: [PATCH] Bad emoticons selector behavior with too big (and/or too much) emoticons
Product: [Unmaintained] kopete Reporter: Marco Gulino <marco.gulino>
Component: Chat WindowAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: gentoobox, protomank
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Adding scrollbars, and showing emoticons with correct size
Screenshot of the new dialog

Description Marco Gulino 2006-05-20 21:00:22 UTC
Version:           0.11.93 (0.12 beta) (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages

Emoticons selector doesn't show emoticons correctly when some emoticons are too large, instead it reduces emoticon canavas to 32x32 pixel, but without resizing the emoticon itself, which results in a cropped view.
Also, when there're too much emoticons the emoticons selector has not a scrollbar to let user choice hidden emoticons.
Comment 1 Marco Gulino 2006-05-20 21:02:51 UTC
Created attachment 16188 [details]
Adding scrollbars, and showing emoticons with correct size

I've worked to view the emoticon selector as a K(or Q)ScrollView, and removed
the code cropping emoticons.
An alternate version of this patch could use QScrollView instead of
KScrollView, since this one uses smooth scroll and maybe too slow for old
hardware.
Comment 2 Will Stephenson 2006-11-06 00:27:26 UTC
*** Bug 118065 has been marked as a duplicate of this bug. ***
Comment 3 Will Stephenson 2006-11-06 00:29:44 UTC
I'm not sure about the patch though
Comment 4 Matt Rogers 2006-12-17 21:01:07 UTC
*** Bug 123693 has been marked as a duplicate of this bug. ***
Comment 5 Gustavo Pichorim Boiko 2007-06-08 22:00:55 UTC
Created attachment 20808 [details]
Screenshot of the new dialog
Comment 6 Gustavo Pichorim Boiko 2007-06-08 22:02:56 UTC
I have commited a new emoticon dialog which solves two problems:
- the dialog being too big for themes with a large number of icons
- the CPU usage when viewing themes with a large number of animated icons

The icons in the list are static, and they are downsized. If you move your mouse over (or select the item using the keyboard), it is shown in the side widget unscaled and animated.