Bug 505614 - Unchecking "Show date" in clock settings creates an empty gap on the panel until restarting plasmashell
Summary: Unchecking "Show date" in clock settings creates an empty gap on the panel un...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 6.3.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-15 01:40 UTC by warren
Modified: 2025-06-27 19:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description warren 2025-06-15 01:40:27 UTC
SUMMARY
Unchecking "Show date" in the digital clock settings creates a empty gap on the clock's left side

STEPS TO REPRODUCE
1. In "Configure Digital Clock", enable "Show date" and "Always beside time" 
2. Uncheck "Show date"

OBSERVED RESULT
An empty gap appears on the left side of the clock on the panel. It goes away after restarting plasmashell.

EXPECTED RESULT
The clock should appear consistent.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Comment 1 Nate Graham 2025-06-16 18:40:53 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2025-06-17 07:40:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5603
Comment 3 Niccolò Venerandi 2025-06-27 09:32:24 UTC
Git commit 683a8b9b201198f06587faa15aa7bc5ce189d704 by Niccolò Venerandi.
Committed on 27/06/2025 at 08:49.
Pushed by niccolove into branch 'master'.

Only resize width to fit date elements if they are visible

M  +1    -1    applets/digital-clock/package/contents/ui/DigitalClock.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/683a8b9b201198f06587faa15aa7bc5ce189d704
Comment 4 Niccolò Venerandi 2025-06-27 09:37:17 UTC
Git commit b2e80af58df6e58659586110ad8b84706600cc85 by Niccolò Venerandi.
Committed on 27/06/2025 at 09:37.
Pushed by niccolove into branch 'Plasma/6.4'.

Only resize width to fit date elements if they are visible

M  +1    -1    applets/digital-clock/package/contents/ui/DigitalClock.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/b2e80af58df6e58659586110ad8b84706600cc85