Bug 423210 - digital clock and calendar are empty if local timezone selected
Summary: digital clock and calendar are empty if local timezone selected
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: 5.18.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-19 09:47 UTC by JR
Modified: 2021-09-07 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Empty digital clock and mouseover display (55.04 KB, image/png)
2020-06-19 09:47 UTC, JR
Details
Same digital clock but with an explicit timezone selected (63.47 KB, image/png)
2020-06-19 09:48 UTC, JR
Details
Empty calendar display (529.89 KB, image/png)
2020-06-19 09:48 UTC, JR
Details
Same calendar display but with explicit timezone selected (544.13 KB, image/png)
2020-06-19 09:49 UTC, JR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JR 2020-06-19 09:47:56 UTC
Created attachment 129514 [details]
Empty digital clock and mouseover display

SUMMARY
The digital clock applet is completely empty if I set it to display my local timezone. If I specify a specific one it works. The calendar view that opens when you click the applet is also empty and only has the text ", 0".

STEPS TO REPRODUCE
1. Add a digital clock widget
2. Right click, Configure Digital Clock
3. Time Zones, select "Your system time zone" and at least one other timezone
4. Check "Switch time zone with mouse wheel" to easily switch between displayed timezones
5. OK

OBSERVED RESULT
The widget is completely empty of text. The calendar view is also empty aside from a ", 0" header. The other enabled time zones display both properly.

EXPECTED RESULT
The widget should show the time and calendar in my local timezone just as well as it does the additional explicit timezones.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro/Arch x86_64, plasma packages 5.18.5-3.
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
I'm unsure when this started. I tried updating to Arch's 5.19.1 but the issue persisted. I also tried deleting ~/.config/plasma-org.kde.plasma.desktop-appletsrc but the default digital clock in the default layout was also affected.
Comment 1 JR 2020-06-19 09:48:36 UTC
Created attachment 129515 [details]
Same digital clock but with an explicit timezone selected
Comment 2 JR 2020-06-19 09:48:54 UTC
Created attachment 129516 [details]
Empty calendar display
Comment 3 JR 2020-06-19 09:49:23 UTC
Created attachment 129517 [details]
Same calendar display but with explicit timezone selected
Comment 4 JR 2020-09-12 16:43:23 UTC
5.19.5 still affected.

Added custom timezones are 2 hours ahead, so even if I pick my timezone (instead of having it inferred by localtime) it's 2 hours off.

Date display is not updated after midnight, advancing only if you switch timezones by scrolling the mousewheel.

Setting an environment variable explicitly TZ='Europe/Stockholm' seems to have worked around the issue. Previously it was TZ='/etc/localtime', which *is* a valid symlink to /usr/share/zoneinfo/Europe/Stockholm, yet doesn't work with Plasma clocks specifically. It displays it properly everywhere else, including in System Settings -> Time and Date.
Comment 5 Nate Graham 2021-08-08 17:51:01 UTC
The code for this applet has been re-done for Plasma 5.20, and then the UI in 5.22. Can you please see if it still happens in Plasma 5.22? Thanks
Comment 6 Bug Janitor Service 2021-08-23 04:36:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2021-09-07 04:35:43 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!