Bug 185588 - font size cant be set in clock plasmoid
Summary: font size cant be set in clock plasmoid
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
: 191897 206820 237144 (view as bug list)
Depends on:
Reported: 2009-02-26 11:09 UTC by Christoph Thielecke
Modified: 2011-05-27 18:56 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Thielecke 2009-02-26 11:09:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources

The font size of the clock cant be specified.
Comment 1 Dario Andres 2009-04-25 23:33:44 UTC
The font size of the Time is calculated using the widget size (or panel height). The font size of the Date is based on the KDE global fonts.
Marking as wish
Comment 2 Daniel Hahler 2009-05-24 17:17:34 UTC
*** Bug 191897 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Endrullis 2009-08-29 18:40:08 UTC
We should really consider adding a new severity called "KDE4 regression" to this bugzilla. For most of the people moving from KDE3 to KDE4 such issues are not wishes, they are just bugs of KDE4. And I have to agree.
Comment 4 Daniel Mach 2009-09-16 13:03:28 UTC
(In reply to comment #1)
> The font size of the Time is calculated using the widget size (or panel
> height).
And this is exactly the problem.
I used to have bigger panel in KDE3 and when I resized KDE4 panel to the same size, clock automatically resized to enormous size and now occupies really huge part of the panel.
Try to resize panel to 50% of the screen height and you'll see what I'm talking about :)

I'd really like the clock applet to behave as it used to in KDE3.
(clock size was fixed, when the panel was bigger than actual clock width/height, padding was added)
Comment 5 Stefan Endrullis 2009-09-16 15:31:20 UTC
Do you want padding in one direction (vertical or horizontal) direction or both?
In the first case the font size could still be automatically calculated by a "best fit algorithm" and we would not need any configuration option for the font size.
Comment 6 Daniel Mach 2009-09-19 12:55:42 UTC
In KDE3, clock width is calculated from font size and vertical padding is added to fit the panel. In vertical panels this can be reversed: font size defines height, horizontal padding is added.

The only problem I see is in smaller panel than actual clock size.
In this case the clock would need to shrink to fit the panel...
Comment 7 Stefan Endrullis 2009-09-19 14:15:41 UTC
For simplicity I just consider a horizontal panel now (for vertical panels just switch the words "height" and "width").

So, you're right, in KDE3 the font size of the clock defines the width of the clock applet. In KDE4 the font size depends on the with (and hight) of the plasmoid. Thus, if the plasmoid is fully resizable in the panel (as it has been claimed in bug #182193), this issue would be solved, I think.
Comment 8 John Layt 2010-06-20 00:17:06 UTC
*** Bug 206820 has been marked as a duplicate of this bug. ***
Comment 9 John Layt 2010-06-20 00:18:14 UTC
*** Bug 237144 has been marked as a duplicate of this bug. ***
Comment 10 Peter Tselios 2011-01-19 22:01:27 UTC
*** This bug has been confirmed by popular vote. ***
Comment 11 John Layt 2011-05-27 18:56:07 UTC
We have discussed this option on the plasma developers list and decided this
option will not be added to the standard clock widget.  Instead we will seek to
resolve the issues with the auto-sizing code.