This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Font in Digital Clock widget

Tags: None
(comma "," separated)
User avatar
Menak Vishap
Registered Member
Posts
59
Karma
0

Font in Digital Clock widget

Sat Jul 09, 2016 12:13 pm
Several days ago (unfortunately, I don' remember the precise date) after current upgrade the font in Digital Clock widget in the panel suddenly became very small. It happened in the same day independently in Neon unstable and in openSUSE Leap with Plasma unstable repos. In KaOS it did not happen yet. When I increase height of the panel, the font becomes normal, but when I decrease it back to height which I prefer, it again becomes small. :(
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Font in Digital Clock widget

Sat Jul 09, 2016 3:31 pm
Big font and icon sizes on master: https://mail.kde.org/pipermail/plasma-d ... 55717.html
Jan Kundrát
Fri Jul 8 19:35:08 UTC 2016

...after my recent upgrade of all of KF5 and Plasma to git master from git
master from around 2016-06-21, the icon sizes in the System Tray and the
font size in my clock applet are now huge...
User avatar
Menak Vishap
Registered Member
Posts
59
Karma
0

Re: Font in Digital Clock widget

Sun Jul 10, 2016 10:19 pm
Here there are some pictures reflecting the situation more vividly.

The first one snows how the right side of the panel used to look before these unlucky upgrades happened (and how it still looks in KaOS):

Image

And here how it looks now in openSUSE Leap with reasonable (on my taste) panel height. One can see that clock font is very small:

Image

After increasing panel height the systray icons become huge, but clock font is still small:

Image

And after further panel height increasing finally the font gets more-or-less normal size, but the systray icons and panel height are huge outside the reasonable range:

Image

So, the lilipute font is the best of a bad bunch, but it is unconvenient and looks ugly.
User avatar
Menak Vishap
Registered Member
Posts
59
Karma
0

Re: Font in Digital Clock widget

Tue Jul 12, 2016 9:11 pm
It seems I have found the cause of such behaviour! Here is the patch which just returns everything to previous state:

root@vishap-desktop:/usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui# diff -u /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml.old /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml
--- /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml.old 2016-07-12 21:38:24.000000000 +0300
+++ /usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml 2016-06-30 18:10:31.000000000 +0300
@@ -406,6 +406,7 @@
family: plasmoid.configuration.fontFamily || theme.defaultFont.family
weight: plasmoid.configuration.boldText ? Font.Bold : Font.Normal
italic: plasmoid.configuration.italicText
+ pixelSize: 1024
pointSize: 1024
}

@@ -430,6 +431,7 @@

font.weight: timeLabel.font.weight
font.italic: timeLabel.font.italic
+ font.pixelSize: 1024
font.pointSize: 1024
minimumPixelSize: 0

@@ -447,6 +449,7 @@
font.family: timeLabel.font.family
font.weight: timeLabel.font.weight
font.italic: timeLabel.font.italic
+ font.pixelSize: 1024
font.pointSize: 1024
minimumPixelSize: 0

@@ -462,6 +465,7 @@
font.family: timeLabel.font.family
font.weight: timeLabel.font.weight
font.italic: timeLabel.font.italic
+ font.pixelSize: 1024
font.pointSize: 1024

verticalAlignment: Text.AlignVCenter
User avatar
Menak Vishap
Registered Member
Posts
59
Karma
0

Re: Font in Digital Clock widget

Wed Sep 21, 2016 9:00 am
So, 2 month are passed, but the problem still exists. I had found its cause and proposed the patch which returns everything to previous state. Can we hope for fixing it in foreseeble future? The microscopic font size in Digital Clock is exteremely inconvenient and irritating.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Font in Digital Clock widget

Wed Sep 21, 2016 10:02 am
Menak Vishap wrote:So, 2 month are passed, but the problem still exists. I had found its cause and proposed the patch which returns everything to previous state. Can we hope for fixing it in foreseeble future? The microscopic font size in Digital Clock is exteremely inconvenient and irritating.


Have you reported your problem to the plasma developers ?
i.e - Have you filed a bug report / looked the existing one and added your comments ? ( https://bugs.kde.org )



A workaround, at here, is to use 'My Digital Clock': viewtopic.php?f=17&t=134970&p=361132#p361132
Image


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]