Bug 509556 - With default fonts on an exactly 40px high panel, the time display bounces a bit when any digits display a 4
Summary: With default fonts on an exactly 40px high panel, the time display bounces a ...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 6.4.5
Platform: CachyOS Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-16 14:32 UTC by d3nnis77
Modified: 2025-10-08 15:55 UTC (History)
2 users (show)

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


Attachments
Screen recording of described shift (29.09 KB, video/webm)
2025-09-16 14:32 UTC, d3nnis77
Details
Systtemsettings - fonts (81.07 KB, image/png)
2025-09-23 10:26 UTC, d3nnis77
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d3nnis77 2025-09-16 14:32:47 UTC
Created attachment 184978 [details]
Screen recording of described shift

The number "4" is a few pixels wider than all other numbers in the digital clock. This causes the whole taskbar to shift to the left, every time the "4" is displayed. See attached screen recording.

Bug is present at least since the first versions of Plasma 6.


STEPS TO REPRODUCE
1. Enable displaying seconds in digital clock
2. Observe taskbar

OBSERVED RESULT
Taskbar icons get shifted to the left every time the "4" appears.

EXPECTED RESULT
No shift regardless of time.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Comment 1 Bug Janitor Service 2025-09-16 14:33:38 UTC
Thank you for the bug report!

However Plasma 6.0.0 no longer receives updates or maintenance from KDE; active versions are 6.4 or newer. Please upgrade to an active version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need help with Plasma 6.0.0, please contact your distribution, who bears the responsibility of providing help for older releases that are no longer receiving updates from KDE.

If you can reproduce the issue after upgrading to an active version, feel free to re-open this bug report.
Comment 2 Nate Graham 2025-09-16 21:58:31 UTC
What font are you using for the Digital Clock widget, or systemwide, if you haven't changed the Digital font in the Digital Clock widget directly?
Comment 3 d3nnis77 2025-09-17 13:55:28 UTC
Noto Sans with 10pt size.

I believe that´s the default font. Also had the same behavior on a previous Manjaro installation.
Comment 4 Nate Graham 2025-09-17 14:20:36 UTC
Thanks. In that case this shouldn't be happening; the time display is supposed to take up as much space as it could possible take if all digits use the widest characters. Needs investigation as to why that's not working.
Comment 5 TraceyC 2025-09-17 20:16:58 UTC
I'm not able to reproduce this on git-master, using the same font settings and showing seconds in the widget. The text stays the same width through all 60 seconds of a minute. Panel height is set to 48

What height do you have that panel set to?
Comment 6 TraceyC 2025-09-17 20:17:50 UTC
.
Comment 7 d3nnis77 2025-09-17 21:03:04 UTC
I´ve just tested it and indeed you are correct.

Does not happen with panel height 48.

I´m using panel height 40, there it happens.
In fact, it only seems to happen on panel height 40. Not 36, 38, 42, 44. Strange...
Comment 8 TraceyC 2025-09-22 20:01:23 UTC
I re-tested on git-master with a new, default panel with a height of 40, and can't reproduce it. I'm wondering if the font choice is affecting this.

Do you have a manual font chosen for the digital clock? If show, what face and size?

Also, can you please share a screenshot of System Settings - Fonts ?

Thanks.
Comment 9 d3nnis77 2025-09-23 10:26:37 UTC
Created attachment 185183 [details]
Systtemsettings - fonts
Comment 10 d3nnis77 2025-09-23 10:27:40 UTC
> Do you have a manual font chosen for the digital clock? If show, what face
> and size?

No manual font. The text setting of the clock is the default "automatic".

> Also, can you please share a screenshot of System Settings - Fonts ?

See above.

Thanks for your help.
Comment 11 Bug Janitor Service 2025-10-08 03:47:02 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!