Bug 363810 - font size calculation broken
Summary: font size calculation broken
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 5.6.4
Platform: Debian unstable Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-01 19:19 UTC by arne anka
Modified: 2016-07-13 11:34 UTC (History)
1 user (show)

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


Attachments
original, previously working panel height with broken clock display (8.30 KB, image/png)
2016-06-01 19:23 UTC, arne anka
Details
panel height almost doubled only to fix broken clock display (just because one is not allowed to decide the font size) (4.19 KB, image/png)
2016-06-01 19:24 UTC, arne anka
Details

Note You need to log in before you can comment on or make changes to this bug.
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)