Bug 232648 - Lock/logout buttons appear half-sized when only one icon
Summary: Lock/logout buttons appear half-sized when only one icon
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-misc (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 226782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-30 05:30 UTC by sheeettin
Modified: 2010-05-19 11:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
"half-size" icon (7.89 KB, application/octet-stream)
2010-03-30 05:31 UTC, sheeettin
Details
full-size icons (9.05 KB, application/octet-stream)
2010-03-30 05:32 UTC, sheeettin
Details
Correctly computing aspect ratio (1015 bytes, patch)
2010-04-26 17:25 UTC, Thomas Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***