Bug 469564 - Option to never show a timezone
Summary: Option to never show a timezone
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-10 07:38 UTC by ratijas
Modified: 2025-02-26 15:01 UTC (History)
1 user (show)

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


Attachments
digitalclock needs no timezone.png (178.23 KB, image/png)
2023-05-10 07:38 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2023-05-10 07:38:15 UTC
Created attachment 158819 [details]
digitalclock needs no timezone.png

SUMMARY

Digital Clock applet needs an option to NEVER show a timezone. Currently it has two options: to show when system timezone is different from clock's and to show always.

Why? For some reasons I won't change system timezone (e.g. laptop is not mine and the owner doesn't want me to), so the best I could do is to set my local convenient timezone in the applet. But applet insists on showing me either a city name or an offset or a timezone code, even though I don't need that kind of information.

STEPS TO REPRODUCE
1. Move to a different country with a different time zone (hard to reproduce, I know).
2. Systematically refuse to adjust timezone on a laptop as a whole (needs mental training, very hard to reproduce).
3. Set local timezone in the Digital Clock applet configuration window.

OBSERVED RESULT
Timezone code/offset or city name which is not possible to hide.

EXPECTED RESULT
Expected to have an option to hide timezone indicator.

SOFTWARE/OS VERSIONS
Plasma 5.27 and Plasma 6 (git master)
Comment 1 Nate Graham 2023-05-18 19:34:59 UTC
Probably we'd need to refactor the config a bit since right now this is controlled by the showLocalTimezone setting which is a bool, so not suitable for the more than two states that would exist ("always on", "always off", and "when different from local timezone"). We'd want to instead use an enum so we can handle more than two states and add a kconf script to migrate the existing setting to the new one.