Bug 505916

Summary: Reset button does not work in time zone
Product: [Applications] systemsettings Reporter: chocolateimage <chocolateimage>
Component: kcm_clockAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: filip.kendes1, kdedev, nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 6.4.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.5.0
Sentry Crash Report:

Description chocolateimage 2025-06-21 13:31:26 UTC
SUMMARY
Selecting the reset button at the bottom should reset to the time zone set before changing it.

STEPS TO REPRODUCE
1. Open the System Settings, Date & Time, Time Zone tab
2. Select another time zone but don't save it
3. Click on "Reset" at the bottom

OBSERVED RESULT
The reset button becomes disabled, but it does not change the time zone selected.

EXPECTED RESULT
It should reset back to the time zone it was before.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.12.34-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X3D 16-Core Processor
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3060
Comment 1 Filip 2025-06-22 06:11:59 UTC
Can confirm. It looks like the time zone is changed to the previous value, but not marked visually on the map
Comment 2 Bug Janitor Service 2025-09-29 08:44:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3219
Comment 3 Niccolò Venerandi 2025-09-30 12:06:42 UTC
Git commit b04674affffe0f8a20424d60f1e9382c7de75f28 by Niccolò Venerandi.
Committed on 30/09/2025 at 12:06.
Pushed by niccolove into branch 'master'.

Update TimezoneSelector selection when the timezone is reset through the KCM

Currently, the TimezoneSelector sets the timezone when the users selects
some place; this breaks the binding that was defined by the KCM, which means
that further updates from the KCM (such as resetting the value) are not
picked up. This commit makes sure that the selected time zone of the
TimezoneSelector is always in sync with the KCM value.

M  +7    -0    kcms/dateandtime/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/b04674affffe0f8a20424d60f1e9382c7de75f28
Comment 4 Niccolò Venerandi 2025-09-30 12:07:09 UTC
Git commit 2cb2cabdfbb9b6e3c4bdb5d3961dc979272e6648 by Niccolò Venerandi.
Committed on 30/09/2025 at 12:07.
Pushed by niccolove into branch 'Plasma/6.5'.

Update TimezoneSelector selection when the timezone is reset through the KCM

Currently, the TimezoneSelector sets the timezone when the users selects
some place; this breaks the binding that was defined by the KCM, which means
that further updates from the KCM (such as resetting the value) are not
picked up. This commit makes sure that the selected time zone of the
TimezoneSelector is always in sync with the KCM value.


(cherry picked from commit b04674affffe0f8a20424d60f1e9382c7de75f28)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +7    -0    kcms/dateandtime/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/2cb2cabdfbb9b6e3c4bdb5d3961dc979272e6648