Bug 417728 - The date is initially (after login) too big and wraps when the panel is vertical.
Summary: The date is initially (after login) too big and wraps when the panel is verti...
Status: RESOLVED DUPLICATE of bug 417852
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: 5.18.0
Platform: Other Linux
: HI normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-02-16 02:05 UTC by Jeremy Plsek
Modified: 2020-07-11 09:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Plsek 2020-02-16 02:05:27 UTC
SUMMARY
The date is initially (after login) too big and wraps when the panel is vertical.

STEPS TO REPRODUCE
Create a default panel
Move it to the right edge of the screen.
Change the width of the panel to 56px.
Enable the date for the widget.
Log out.
Log in.

OBSERVED RESULT
https://i.imgur.com/sxWkGGX.png

EXPECTED RESULT
https://i.imgur.com/8HGtgqy.png
(Although, the date is a bit too small imo.)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch 5.18.0 and KDE Neon 5.18.80

ADDITIONAL INFORMATION
As a workaround, resizing the panel to be smaller, then back to 56px will fix it. Although, the date is a bit too small imo.
Comment 1 Nate Graham 2020-02-16 23:54:04 UTC
Oh gosh. Almost certainly a regression from https://cgit.kde.org/plasma-workspace.git/commit/?id=02c89d749475f01f23036a6011f1bfd20254fc7c, to fix Bug 381551.

This clock sizing code is so fragile. :/
Comment 2 Allan Sandfeld 2020-02-20 21:03:19 UTC
I had literally the opposite regression. The text is now too small.
Comment 3 Nate Graham 2020-03-20 22:45:27 UTC

*** This bug has been marked as a duplicate of bug 417852 ***
Comment 4 hexchain 2020-07-11 09:42:05 UTC
I still have this problem on 5.19.3, with "Date Format" set to "Short date" and font style set to bold. See https://imgur.com/a/OcbSquV.

This happens on every restart of plasmashell. Manually increasing the width of the panel and then shrinking to its original size corrects it.