Bug 191889 - Digital clock widget on the panel is usually too wide
Summary: Digital clock widget on the panel is usually too wide
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-clock (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 11:13 UTC by Tamás Németh
Modified: 2018-01-22 23:13 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The too wide clock applet (7.14 KB, image/jpeg)
2009-05-07 11:16 UTC, Tamás Németh
Details
excerpts from screenshots (131.30 KB, image/png)
2009-07-25 21:57 UTC, Markus Elfring
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Németh 2009-05-07 11:13:32 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    SuSE RPMs

Digital clock widget on the panel is usually too wide, thus occupying too much valuable width from other panel applets. It should be only a bit wider than its contents. (See the attached image.)
Comment 1 Tamás Németh 2009-05-07 11:16:27 UTC
Created attachment 33425 [details]
The too wide clock applet
Comment 2 Markus Elfring 2009-07-25 21:57:37 UTC
Created attachment 35635 [details]
excerpts from screenshots

I find also that some widgets (especially the digital clock) take too much room on the panel in KDE 4.2.4. I am used to see more entries from the window list in KDE 3.5.10, too.
Comment 3 Markus Elfring 2009-07-25 22:00:33 UTC
I hope that visual space requirements of the current graphical user interface can be reduced.
Comment 4 Aaron J. Seigo 2010-09-07 17:31:26 UTC
the clock occupies the room it needs, spacers can help push items around as well.
Comment 5 Markus Elfring 2010-09-07 20:02:16 UTC
(In reply to comment #4)

This clock occupies more room in the KDE 4 panel than the implementation from KDE 3.5.10. I would prefer a smaller style.
Comment 6 Sven Langkamp 2010-11-13 22:26:44 UTC
This isn't fixed. The bug is about the width of the digital clock which depends on the height of the panel. The wish is about decreasing the width of the clock without decreasing the height of the panel. That can't be done with sliders.
Comment 7 Peter Tselios 2011-09-10 15:48:09 UTC
Just a reminder for the bug. Sven is very correct about it. Clock should be more flexible, including specific font size. Since the font size is relative to the panel size, a "correct" or a more consistent if you wish, is to resize the panel when clock's font size is larger than the available space I don't know if it is possible with QT  to calculate the minimum pixel size from DPI and font size, but anyway, it's just an idea).
Comment 8 Markus Elfring 2011-09-11 11:28:39 UTC
(In reply to comment #7)

I imagine a different solution. The relative sizing results in technical challenges for the desired layout. I suggest to improve configuration capabilities for such widgets.

How do you think about a choice for the setting of growth limitations?

Would you like to switch the layout strategy to an absolute approach above an adjustable widget size?
Is there a need to apply properties like padding and horizontal/vertical alignment for a proper information display under specific circumstances?
Comment 9 Peter Tselios 2011-09-14 09:15:16 UTC
(In reply to comment #8)
> (In reply to comment #7)
> 
> I imagine a different solution. The relative sizing results in technical
> challenges for the desired layout. I suggest to improve configuration
> capabilities for such widgets.
> 
> How do you think about a choice for the setting of growth limitations?
> 
> Would you like to switch the layout strategy to an absolute approach above an
> adjustable widget size?
> Is there a need to apply properties like padding and horizontal/vertical
> alignment for a proper information display under specific circumstances?

It is more complicated, probably, but a more complete solution. But, is anyone listening? I mean, even for the technical point of view, it is interesting to improve the applets...
Comment 10 Aaron Peterson 2012-11-08 09:56:29 UTC
We need to be able to set the font and size of the widget from within the widget.  It should not get all of it's sizing hints from the containment.   

This is a general bug across all KDE, and it is beginning to get old.  (I am willing to pay money to get it fixed) KDE is the best!)
Comment 11 Nate Graham 2018-01-22 23:13:58 UTC
No longer an issue in Plasma 5.