Bug 416646

Summary: Inconsistency between spacing in 24h and 12h format.
Product: [Plasma] plasmashell Reporter: Emil Tang Kristensen <emiltangkristensen>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 5.17.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Comparison between 12h and 24 format.

Description Emil Tang Kristensen 2020-01-23 13:58:24 UTC
Created attachment 125326 [details]
Comparison between 12h and 24 format.

SUMMARY
The 12 hour clock display format was clearly made to include a little bit of spacing on both the right and left side to avoid the text being too close to the panel edge or other panel elements. Apparently there is no such thing for 24h format, which creates problems with readability and is overall inconsistent.

STEPS TO REPRODUCE
1. Add the Digital Clock Applet and lock panel.
2. Right clock applet and select configure.
3. Switch the time displat to 12h.
4. Take a screenshot.
5. Do the same for the 24h format.
6. Compare results.

OBSERVED RESULT
The 12h format has a nice spacing on both the left and right side of the clock text.
The 24h format has 0 spacing on the right and left side.

EXPECTED RESULT
Both format should have the same spacing.

SOFTWARE/OS VERSIONS
OS: Arch Linux
KDE Plasma Version: 5.17.5
Qt Version: 5.14.0
Comment 1 Nate Graham 2020-01-23 19:48:51 UTC
Already fixed in 5.18. :)
Comment 2 Emil Tang Kristensen 2020-01-24 01:59:34 UTC
Cheers, thanks for all the hard work :).