Bug 438436 - After changing fonts in System Settings, changes are not applied until re-launching the app
Summary: After changing fonts in System Settings, changes are not applied until re-lau...
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.22.0
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-10 20:33 UTC by Mac Michaels
Modified: 2021-07-02 07:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.84


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mac Michaels 2021-06-10 20:33:28 UTC
SUMMARY
Systemmonitor replaced ksysguard in Plasma 5.22.0.
 
STEPS TO REPRODUCE
1. Upgrade to plasma 5.22.0 from 5.21.5
2. 
3. 

OBSERVED RESULT
The fonts are too big and the data display area is too small on the History page. Most of the page is now useless white space and big titles. Auto scaling graphs no longer happens.

EXPECTED RESULT
A display with reasonable font titles and graphs like ksysguard.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 David Redondo 2021-06-11 10:09:34 UTC
plasma-systemmonitor uses standard heading and font sizes as the rest of the system. 

You can remove the titles if you feel they are using to much space or add the title to the chart instead (not sure if this will save space)
Comment 2 Mac Michaels 2021-06-11 21:13:39 UTC
In KDE Plasma System Settings -> Appearance -> Global Theme -> Fonts (using Adjust All Fonts... and "Apply" button) only effects some of the text.  In the "Overview" display it only changed "Edit Page", and Applications Column Headings "Name", "Download", "Upload", "Read", "Write". Oddly the Applications Column Headings "CPU" and "Memory" were unchanged, but did change when I rolled the mouse over them. 

No other text on the page was changed oven after rolling the mouse over them.

Then I quit System Monitor and started it again. Like magic the fonts were changed as expected. So the bug is that System Monitor does not do everything it should when the "Apply" button is pressed in the configuration utility.

I noticed that all the text and titles inside other applications was affected by the "Apply" button.
Comment 3 Bug Janitor Service 2021-06-23 07:24:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/76
Comment 4 David Redondo 2021-07-02 07:37:59 UTC
Git commit e224a1df71c8ea142f5dea85219110ed348dbd18 by David Redondo.
Committed on 01/07/2021 at 14:26.
Pushed by davidre into branch 'master'.

Bind default font of Label

There is no propagation of QGuiApplication::font changes for Text or
Label. This means that changing the default font in systemsettings
has no effect on Text elements in QML. For Label at least we can
work around this by explicitely binding the font to the defaultFont
of the Kirigami Theme which we correctly update.
FIXED-IN:5.84

M  +1    -0    org.kde.desktop/Label.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/commit/e224a1df71c8ea142f5dea85219110ed348dbd18