Bug 375966 - Digital Clock font is too large
Summary: Digital Clock font is too large
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: 5.9.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 18:30 UTC by xeuawszwe
Modified: 2017-02-17 02:49 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
1st - current, 2nd - what it should look like (13.52 KB, image/png)
2017-02-03 18:30 UTC, xeuawszwe
Details
what is should look like (7.37 KB, image/png)
2017-02-03 19:32 UTC, xeuawszwe
Details
digital clock on small panel (4.88 KB, image/png)
2017-02-03 19:35 UTC, Rik Mills
Details
1920x1080 (4.76 KB, image/png)
2017-02-03 19:44 UTC, xeuawszwe
Details
1366x768 (3.84 KB, image/png)
2017-02-03 19:46 UTC, xeuawszwe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xeuawszwe 2017-02-03 18:30:55 UTC
Created attachment 103792 [details]
1st - current, 2nd - what it should look like

After update to 5.9.0 it become way too big. It's big on my 1920x1080 machine, on another one with 1366x768 it just LARGE.
Comment 1 xeuawszwe 2017-02-03 18:35:15 UTC
sorry, can't add multiple screenshots in attachment, what it should look like is what is has been in 5.8.x releases: https://www.kde.org/announcements/plasma-5.8/plasma-5.8.png
please fix asap, my eyes are bleeding, thank you
Comment 2 Till Schäfer 2017-02-03 19:22:46 UTC
just add second attachment then.
Comment 3 xeuawszwe 2017-02-03 19:32:59 UTC
Created attachment 103794 [details]
what is should look like
Comment 4 Rik Mills 2017-02-03 19:35:16 UTC
Created attachment 103795 [details]
digital clock on small panel

I must agree that the new font sizing is pretty unsightly. Especially on small panel sizes where the padding is pretty much zero.
Comment 5 Till Schäfer 2017-02-03 19:40:53 UTC
Bug 375969: opposite case with date enabled
Comment 6 xeuawszwe 2017-02-03 19:44:58 UTC
Created attachment 103801 [details]
1920x1080
Comment 7 xeuawszwe 2017-02-03 19:46:24 UTC
Created attachment 103803 [details]
1366x768
Comment 8 Kai Uwe Broulik 2017-02-10 19:28:01 UTC
*** Bug 376307 has been marked as a duplicate of this bug. ***
Comment 9 xeuawszwe 2017-02-14 10:54:07 UTC
Well, after a couple of weeks I get used to it, so it doesn't seems so large now. It would be great if you add user the ability to scale them at his own in the future.
Comment 10 Christoph Feck 2017-02-17 02:49:21 UTC
What I do is edit DigitalClock.qml in /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/

There is a "states: [" section, and depending on which state applies to you (the "when:" condition), you can adjust the "font.pixelSize" properties of the different labels. My change looks like this:

            PropertyChanges {
                target: timeLabel

                height: sizehelper.height
                width: sizehelper.contentWidth

-                font.pixelSize: timeLabel.height
+                font.pixelSize: timeLabel.height * 0.7
            }

            PropertyChanges {
                target: timezoneLabel