Bug 232648

Summary: Lock/logout buttons appear half-sized when only one icon
Product: [Plasma] plasma4 Reporter: sheeettin
Component: widget-miscAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aseigo, asraniel, fischer, pprkut
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: "half-size" icon
full-size icons
Correctly computing aspect ratio

Description sheeettin 2010-03-30 05:30:56 UTC
Version:            (using KDE 4.4.1)
OS:                Linux
Installed from:    Ubuntu Packages

Don't think any more description is necessary.
When using only one icon in the lock/logout widget, that icon appears about half the size as normal. Displaying two or more icons shows them all at the correct size.
Comment 1 sheeettin 2010-03-30 05:31:56 UTC
Created attachment 42368 [details]
"half-size" icon
Comment 2 sheeettin 2010-03-30 05:32:19 UTC
Created attachment 42369 [details]
full-size icons
Comment 3 Thomas Fischer 2010-04-26 15:09:19 UTC
I can confirm this bug, same here (Gentoo Linux, KDE 4.4.2).
Comment 4 Thomas Fischer 2010-04-26 17:25:13 UTC
Created attachment 43044 [details]
Correctly computing aspect ratio

Correctly computing aspect ratio in case where the plasmoid is drawn in another direction than the panel is oriented.
Comment 5 Beat Wolf 2010-05-18 10:52:36 UTC
please submit this patch the plasma mailing list. usually patches get lost in bugzilla. thank you
Comment 6 Aaron J. Seigo 2010-05-18 19:34:28 UTC
SVN commit 1128215 by aseigo:

improve layout in all form factors by using preferred size hinting and getting rid of the whole "ratio" concept; evidently a left-over from the Olden Days(tm) of Plasma. inspired by a patch by  Thomas Fischer
BUG:232648


 M  +17 -28    lockout.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1128215
Comment 7 Beat Wolf 2010-05-19 11:51:12 UTC
*** Bug 226782 has been marked as a duplicate of this bug. ***