Bug 494661 - clock is too small in taskbar
Summary: clock is too small in taskbar
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 6.1.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-13 13:21 UTC by kderocks38
Modified: 2024-11-25 18:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
tiny clock with vertical pannel (10.28 KB, image/png)
2024-11-22 08:40 UTC, kderocks38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kderocks38 2024-10-13 13:21:47 UTC
SUMMARY
clock is too small in taskbar

STEPS TO REPRODUCE
1. add digitial clock plasmoid to taskbar
2. set it's font to 20


OBSERVED RESULT


EXPECTED RESULT
Font remains the same and looks small

SOFTWARE/OS VERSIONS

Linux kubuntu 24.10
KDE Plasma Version: 6.15
KDE Frameworks Version: 6.6
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-11-21 21:48:58 UTC
That's a maximum size, not an actual size. If we didn't give it an upper bound, it would be possible to set the clock text to 50px tall on a 20px tall Clock and it would clip out of the panel, which is clearly not what anyone wants.

I'll add some text to explain this.
Comment 2 Nate Graham 2024-11-21 22:04:21 UTC
Git commit fbc2ae95846469c68bbce5ab10d4f12de0ccafee by Nate Graham.
Committed on 21/11/2024 at 22:01.
Pushed by ngraham into branch 'master'.

applets/digital-clock: Warn that size may be reduced

If you set the font size to something huge on a skinny panel, it's not
going to fit and will have to be reduced to avoid being clipped.
Apparently this is not obvious to some people, so mention it directly.

M  +6    -0    applets/digital-clock/package/contents/ui/configAppearance.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/fbc2ae95846469c68bbce5ab10d4f12de0ccafee
Comment 3 kderocks38 2024-11-22 08:40:20 UTC
Created attachment 176035 [details]
tiny clock with vertical pannel

Hi Thanks for checking, 

I should have added more information from the start and a screenshot which I do now : 
 
The situation occurs while having a vertical pannel(mine being set to width 26).

This is a video of another user having this situation https://www.youtube.com/watch?v=zvPL9vhI38c
Another thread about this https://www.reddit.com/r/kde/comments/8z1lsm/digital_clock_font_size_too_small/

I understand this may be a limitation from the original design of the clock for horizontal pannel but I am not sure that we need to rely on a widget for the clock to be readable with vertical pannels. 
(widgets not working anymore with plasma 6)
Comment 4 Nate Graham 2024-11-25 17:57:01 UTC
None of those are related to what you're describing here. If your ultimate end goal is to make all of the digits bigger on a narrow vertical panel and use a multi-row mode, that's tracked with Bug 440096 and Bug 494736.
Comment 5 kderocks38 2024-11-25 18:54:53 UTC
(In reply to Nate Graham from comment #4)
> None of those are related to what you're describing here. If your ultimate
> end goal is to make all of the digits bigger on a narrow vertical panel and
> use a multi-row mode, that's tracked with Bug 440096 and Bug 494736.

Yes it is.
Thank you, I had not found those tracked issues initially.