Bug 457764 - UTC in wrong list order when London is made the local timezone, but before rebooting
Summary: UTC in wrong list order when London is made the local timezone, but before re...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 5.25.4
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-11 15:31 UTC by Elliott Tallis
Modified: 2025-10-24 18:14 UTC (History)
1 user (show)

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


Attachments
Tooltip (23.91 KB, image/png)
2022-08-11 15:31 UTC, Elliott Tallis
Details
Popout (17.75 KB, image/png)
2022-08-11 15:32 UTC, Elliott Tallis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elliott Tallis 2022-08-11 15:31:29 UTC
Created attachment 151250 [details]
Tooltip

SUMMARY
When the system local time zone is set to "Europe/London (LMT)" in KDE settings, the order of the UTC time'zone' in the widget tooltip and popout are in the incorrect order (this can be seen when the UK is observing DST).

STEPS TO REPRODUCE
1. Add a Digital Clock widget if you don't already have one (task manager, desktop, etc.)
2. Right click the widget and select "Configure Digital Clock..."
3. Go to the "Time Zones" tab
4. Add UTC (and optionally others, to highlight the incorrect order more) as an additional clock using "Add Time Zones..."
5. Apply your settings, then click "Switch Local Time Zone..." at the top of the list to access date/time settings
6. [If not UK DST] Disable automatic time sync and set to a time that observes UK DST (e.g. 2022-08-11 16:00)
7. Go to the "Time Zone" tab in Date & Time and ensure "London - Europe/United Kingdom" is the applied TZ

OBSERVED RESULT
London is displayed in the clock tooltip (see attachment) and popout on click before UTC, even though the time shown is later.

EXPECTED RESULT
London is displayed after UTC, as the time displayed is later.

SOFTWARE/OS VERSIONS
Digital Clock 3.0
Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.11-200.fc36.x86_64 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
First bug, hope everything's right!

Thanks,
Elliott
Comment 1 Elliott Tallis 2022-08-11 15:32:04 UTC
Created attachment 151251 [details]
Popout
Comment 2 Nate Graham 2022-08-11 18:35:39 UTC
Can reproduce. For me, restarting plasmashell or the computer fixes it. Can you reproduce that?
Comment 3 Elliott Tallis 2022-08-11 19:01:04 UTC
(In reply to Nate Graham from comment #2)
> Can reproduce. For me, restarting plasmashell or the computer fixes it. Can
> you reproduce that?

I can reproduce that, however the erroneous behaviour returns once the timezone list has been updated again.
Comment 4 Nate Graham 2025-10-24 18:14:44 UTC
I can't reproduce this in git master anymore. It's highly likely it was fixed with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5644.