[Bug 375888] New: Kickoff button scales relatively its top edge - not the center
https://bugzilla.novell.com/show_bug.cgi?id=375888 Summary: Kickoff button scales relatively its top edge - not the center Product: openSUSE 10.3 Version: Final Platform: 32bit OS/Version: openSUSE 10.3 Status: NEW Severity: Enhancement Priority: P5 - None Component: KDE AssignedTo: kde-maintainers@suse.de ReportedBy: aleksandr_sinicyn@fastmail.net QAContact: qa@suse.de Found By: Customer When KDE menu is in SUSE mode (enhanced "kickoff" menu), the "go" button scales relatively its top edge, not its center. As a result it looks like the buttons shifts a pair of pixel upwards. With default "kmenu_basic.mng" image it is not noticeable, but when it is changed for example to "kmenu.png" from "/opt/kde3/share/icons/crystalsuse/48x48/apps" it doesn't look well. How to reproduce: 1) Take the attached file "kmenu_basic.mng". 2) Put it to "~.kde/share/apps/kicker/pics". 3) Restart Kickoff menu. 4) Press Kickoff menu. It should look as it shifts a bit upwards instead of being center aligned. It would be better if it stayed in the center position. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375888 User aleksandr_sinicyn@fastmail.net added comment https://bugzilla.novell.com/show_bug.cgi?id=375888#c1 --- Comment #1 from Aleksandr Sinicyn <aleksandr_sinicyn@fastmail.net> 2008-04-01 08:03:39 MST --- Created an attachment (id=205411) --> (https://bugzilla.novell.com/attachment.cgi?id=205411) It is kmenu.png edited a bit that can be used to test kmenu behaviour. It should be put in "~/.kde/share/apps/kicker/pics". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375888 User wstephenson@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375888#c2 Will Stephenson <wstephenson@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wstephenson@novell.com Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #2 from Will Stephenson <wstephenson@novell.com> 2008-04-03 06:46:08 MST --- Reproduced, but no time to fix it. The drawing/scaling code in question is at kdebase/kicker/kicker/buttons/knewbutton.cpp, method drawEye() if you want to submit a patch that works with both the default graphic and the alternatives you suggest. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375888 User aleksandr_sinicyn@fastmail.net added comment https://bugzilla.novell.com/show_bug.cgi?id=375888#c3 --- Comment #3 from Aleksandr Sinicyn <aleksandr_sinicyn@fastmail.net> 2008-04-21 05:08:50 MST --- Created an attachment (id=209254) --> (https://bugzilla.novell.com/attachment.cgi?id=209254) This is a patch that removes button scaling This patch removes scaling of the kickoff button when it is pressed. Maybe this way it will look better. It should be applied to "branches/work/suse_kickoff/kicker/kicker/buttons/knewbutton.cpp". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375888 User aleksandr_sinicyn@fastmail.net added comment https://bugzilla.novell.com/show_bug.cgi?id=375888#c4 Aleksandr Sinicyn <aleksandr_sinicyn@fastmail.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #209254|0 |1 is obsolete| | --- Comment #4 from Aleksandr Sinicyn <aleksandr_sinicyn@fastmail.net> 2008-04-23 07:13:23 MST --- Created an attachment (id=209887) --> (https://bugzilla.novell.com/attachment.cgi?id=209887) This is the tested patch that makes scaling relative to the center. I am sorry for the previous patch I have proposed, it was incorrect - it made the button not drawable at all. This is a patch I have tested with a 3.5.7 version of KDE compiled with konstruct from source. It works well as with default images of the button as with images I have uploaded. Now the button scales relative its center when it is pressed. The file that should be patched is "/home/kde/branches/work/suse_kickoff_qstyle/kicker/kicker/buttons/knewbutton.cpp" located at "svn.kde.org". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com