Bug 363810

Summary: font size calculation broken
Product: [Plasma] plasmashell Reporter: arne anka <kde-bugs>
Component: Digital Clock widgetAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.6.4   
Target Milestone: 1.0   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: original, previously working panel height with broken clock display
panel height almost doubled only to fix broken clock display (just because one is not allowed to decide the font size)

Description arne anka 2016-06-01 19:19:46 UTC
after the latest update the size calculation is completely broken. whereas i had the date _below_ the time before, i now have to almost double the height of the panel to get the same layout again.

for incomprehensible reasons, clock insists on putting the date on the same line (albeit sill in smaller font) insetad of doing the sensible thing, that is using font sizes for time and date that allow two lines.

see attached screenshots. clock.png has the panel size that worked flwlessly before. clock1.png has the panel size that again puts the date below the time.

the only _sensible_ thing is to get back the configurable font size instead of the stupid automatic calculation -- this is especially stupid, since one cannot even easily resize the panel, but has to do that clumsily with the mouse.

Reproducible: Always
Comment 1 arne anka 2016-06-01 19:23:35 UTC
Created attachment 99310 [details]
original, previously working panel height with broken clock display
Comment 2 arne anka 2016-06-01 19:24:33 UTC
Created attachment 99311 [details]
panel height almost doubled only to fix broken clock display (just because one is not allowed to decide the font size)