Bug 477747 - All multi-timezone function of Digital Clock are gone except switch timezone with mouse wheel
Summary: All multi-timezone function of Digital Clock are gone except switch timezone ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 5.90.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: David Redondo
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-11-30 05:07 UTC by Celeste Liu
Modified: 2023-12-05 15:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Celeste Liu 2023-11-30 05:07:05 UTC
SUMMARY

When upgrading to Plasma 5.90.0, all multi-timezone function of Digital Clock are gone except switch timezone with mouse wheel.
It was introduced in https://invent.kde.org/plasma/plasma-workspace/-/commit/f4c3076bcc87401144632314ecbde586e656ba1b
This commit remove TimezonesI18n::i18nCity() but doesn't change QML, and  there seems no similar function which can provide map from city id to city name. 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 27.3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82JW
System Version: Lenovo Legion R70002021

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-12-05 15:15:49 UTC
Git commit 52c2c699847076712704fab3bf7badb2b653e315 by Nate Graham, on behalf of Haochen Tong.
Committed on 05/12/2023 at 15:50.
Pushed by ngraham into branch 'master'.

applets/digital-clock: reimplement TimezonesI18n::i18nCity with ICU

M  +1    -1    applets/digital-clock/package/contents/ui/DigitalClock.qml
M  +1    -1    applets/digital-clock/package/contents/ui/main.qml
M  +25   -0    applets/digital-clock/plugin/timezonesi18n.cpp
M  +4    -1    applets/digital-clock/plugin/timezonesi18n.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/52c2c699847076712704fab3bf7badb2b653e315