While testing KDE OS / Banana OS early preview image I found this bug as the image has no timezone set. STEPS TO REPRODUCE 1. Have no timezone set 2. Look at Digital Clock OBSERVED RESULT Blank applet EXPECTED RESULT Some sort of message that indicates why it's blank. This would be a simple check if timezone is blank/null, display a message to the user advising of this. It could either be an icon with a tooltip or text directly on the applet. Something along the lines of "No timezone is set, please click here to set a timezone" This helps the user identify why they have no clock and fix it.
Definitely a distro error, but yeah, we can surface the error in the UI for easier debugging.
*** Bug 493341 has been marked as a duplicate of this bug. ***
Apparently it's also possible to mess this up while installing Arch; see Bug 493341.
*** Bug 492074 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4766
Git commit 258b6be05359ffa83c3f17484fbce40e1b75a56c by Niccolò Venerandi. Committed on 08/11/2024 at 14:24. Pushed by niccolove into branch 'master'. Show error message in digital clock when no timezone is set A +41 -0 applets/digital-clock/package/contents/ui/NoTimezoneWarning.qml [License: GPL(v2.0+)] M +8 -3 applets/digital-clock/package/contents/ui/Tooltip.qml M +32 -9 applets/digital-clock/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/258b6be05359ffa83c3f17484fbce40e1b75a56c