Bug 523010 - Enabling "Always show seconds" makes layout overflow until plasmashell is restarted
Summary: Enabling "Always show seconds" makes layout overflow until plasmashell is res...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 6.7.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-13 12:08 UTC by tomashnyk
Modified: 2026-07-22 03:43 UTC (History)
2 users (show)

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


Attachments
The time widget in the right overlaps other panel items (23.61 KB, image/png)
2026-07-13 12:08 UTC, tomashnyk
Details
This shows the gap. (19.59 KB, image/png)
2026-07-13 12:09 UTC, tomashnyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomashnyk 2026-07-13 12:08:45 UTC
Created attachment 194257 [details]
The time widget in the right overlaps other panel items

STEPS TO REPRODUCE
1. Enter Digital clock settings (click the time and then the settings icon)
A2.  Under Appearance, set "Show seconds" to " Always"
B2. Under Appearance, set "Show seconds" from " Always" to something else
OBSERVED RESULT
After A2: The seconds start overlapping other items in the panel (see attachment).
After B2: There is not a gap around the time (see second screenshot I will attach in a comment).

EXPECTED RESULT
The place for the panel expands/shrinks immediatelly.

ADDITIONAL INFORMATION
Running plasmashell --replace fixes the issue.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.1
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.13-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9880H CPU @ 2.30GHz
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor: Intel® UHD Graphics 630
Comment 1 tomashnyk 2026-07-13 12:09:08 UTC
Created attachment 194258 [details]
This shows the gap.
Comment 2 Nate Graham 2026-07-14 17:36:07 UTC
Can confirm. It's especially noticeable with a very tall or very short panel.
Comment 3 Bug Janitor Service 2026-07-18 18:20:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6858
Comment 4 Bug Janitor Service 2026-07-18 18:20:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6858
Comment 5 Nate Graham 2026-07-22 03:11:44 UTC
Git commit 28a42b4d5f9d2ce6ac11d4a3cd03b98216f26992 by Nate Graham, on behalf of Hunter White.
Committed on 22/07/2026 at 03:11.
Pushed by ngraham into branch 'master'.

applets/digital-clock: Fix label not adjusting in size when showSeconds is changed

Label sizing did not adjust to appropriate width when showSeconds was changed.
The solution was to just call main.setupLabels() when showSeconds is changed.
FIXED-IN: 6.6.7

M  +4    -0    applets/digital-clock/DigitalClock.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/28a42b4d5f9d2ce6ac11d4a3cd03b98216f26992
Comment 6 Nate Graham 2026-07-22 03:40:59 UTC
Git commit 5cef3835c5b6eaa8d1f6c34391e413d9b844be94 by Nate Graham.
Committed on 22/07/2026 at 03:40.
Pushed by ngraham into branch 'Plasma/6.7'.

applets/digital-clock: Fix label not adjusting in size when showSeconds is changed

Label sizing did not adjust to appropriate width when showSeconds was changed.
The solution was to just call main.setupLabels() when showSeconds is changed.
FIXED-IN: 6.6.7


(cherry picked from commit 28a42b4d5f9d2ce6ac11d4a3cd03b98216f26992)

ef10f6b5 Label sizing did not adjust to appropriate width when showSeconds was changed....

Co-authored-by: Hunter White <hunterwhite.dev@gmail.com>

M  +4    -0    applets/digital-clock/DigitalClock.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/5cef3835c5b6eaa8d1f6c34391e413d9b844be94
Comment 7 Nate Graham 2026-07-22 03:43:48 UTC
Git commit 313db251d8be3e280cf8d0da1bb169676edd74ba by Nate Graham.
Committed on 22/07/2026 at 03:12.
Pushed by ngraham into branch 'Plasma/6.6'.

applets/digital-clock: Fix label not adjusting in size when showSeconds is changed

Label sizing did not adjust to appropriate width when showSeconds was changed.
The solution was to just call main.setupLabels() when showSeconds is changed.
FIXED-IN: 6.6.7


(cherry picked from commit 28a42b4d5f9d2ce6ac11d4a3cd03b98216f26992)

ef10f6b5 Label sizing did not adjust to appropriate width when showSeconds was changed....

Co-authored-by: Hunter White <hunterwhite.dev@gmail.com>

M  +4    -0    applets/digital-clock/DigitalClock.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/313db251d8be3e280cf8d0da1bb169676edd74ba