Bug 428019

Summary: Timezone string cut off on right size when widget is located on a >26px horizontal panel when displaying a short date and time has only one digit for the hour
Product: [Plasma] plasmashell Reporter: medin <med.medin.2014>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.19.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Zone code problems
Digital clock settings

Description medin 2020-10-20 10:25:32 UTC
Created attachment 132581 [details]
Zone code problems

When the hour is single digit the time zone is not displayed correctly. See attached image for more info.
Comment 1 Nate Graham 2020-10-21 02:55:47 UTC
What options are you using in the settings window? Can you attach a screenshot?
Comment 2 medin 2020-10-21 09:01:13 UTC
Created attachment 132597 [details]
Digital clock settings
Comment 3 medin 2020-10-21 09:01:40 UTC
Attached settings screenshots.
Comment 4 medin 2020-10-21 09:13:25 UTC
To view clearly the bug try to choose a time zone that has currently only one digit in hour then set time zone to be displayed as time zone city.
Comment 5 Nate Graham 2020-10-21 16:33:42 UTC
Thanks, can reproduce now.
Comment 6 Nate Graham 2020-10-21 16:42:11 UTC
I'm afraid I can't fix it though. The code is slightly insane and makes my head spin.