Bug 499945 - Date and time separator persists after unchecking "Show date" while "Always beside time" is selected
Summary: Date and time separator persists after unchecking "Show date" while "Always b...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 6.3.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-02-13 02:06 UTC by toastyfen
Modified: 2025-02-15 02:56 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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