Bug 499945

Summary: Date and time separator persists after unchecking "Show date" while "Always beside time" is selected
Product: [Plasma] plasmashell Reporter: toastyfen
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: nate, shroedinaz, zdaniel.gp
Priority: NOR Keywords: regression
Version: 6.3.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.1
Sentry Crash Report:

Description toastyfen 2025-02-13 02:06:39 UTC
SUMMARY
When disabling "Show date" while "Always beside time" in the drop-down menu is selected, the separator that separates the date from the time still appears

STEPS TO REPRODUCE
1. Enable "Show date" and select "Always beside time" in the drop-down menu, apply
2. Disable "Show date", apply

OBSERVED RESULT
The separator still appears to the left of the clock despite no longer having anything to separate

EXPECTED RESULT
The separator should disappear

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Comment 1 Bug Janitor Service 2025-02-14 01:32:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5202
Comment 2 cwo 2025-02-14 15:42:06 UTC
Git commit 3336c0290db1e427df82731f59d89f95dfc1cf01 by Christoph Wolk.
Committed on 14/02/2025 at 14:55.
Pushed by cwo into branch 'master'.

applets/digitalclock: only show separator with date

The new separator in Digital Clock is always active if "Always beside
time" is selected, even if the date is off. As a result, an orphaned
separator will appear in that circumstance. While this has its own logic
and can be fixed by selecting any other setting except "Always beside
time", this is not very intuitive and does not look appealing.

Instead, only show the separator when there is an actual date to
separate from the time.
FIXED-IN: 6.3.1

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/3336c0290db1e427df82731f59d89f95dfc1cf01
Comment 3 cwo 2025-02-14 16:21:34 UTC
Git commit 433a55439d9e1585ac1ede639ef2acea09bbc83a by Christoph Wolk.
Committed on 14/02/2025 at 15:44.
Pushed by cwo into branch 'Plasma/6.3'.

applets/digitalclock: only show separator with date

The new separator in Digital Clock is always active if "Always beside
time" is selected, even if the date is off. As a result, an orphaned
separator will appear in that circumstance. While this has its own logic
and can be fixed by selecting any other setting except "Always beside
time", this is not very intuitive and does not look appealing.

Instead, only show the separator when there is an actual date to
separate from the time.
FIXED-IN: 6.3.1


(cherry picked from commit 3336c0290db1e427df82731f59d89f95dfc1cf01)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/433a55439d9e1585ac1ede639ef2acea09bbc83a