SUMMARY After updating to Plasma 5.15 some KCM header titles are smaller than others. STEPS TO REPRODUCE 1. Update to Plasma 5.15 2. Compare e.g. Plasma Theme KCM and the Widget Style KCM OBSERVED RESULT https://i.ibb.co/mqK55zv/Screenshot-20190215-165024.png EXPECTED RESULT Headers have the same font size. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.15.0 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1
I'm able to confirm this on Neon 5.15.0 User Edition. KDE Frameworks 5.55.0. Qt Version: 5.12.0
Looks like the QML KCMs have smaller titles. Seems like a regression somewhere in Kirigami page header title handling. Possibly https://cgit.kde.org/kirigami.git/commit/?id=8bf21953d717b4aba0533b620a4accff887208d2. Investigating...
It seems that the title isn't actually being rendered as a Kirigami Heading, which is presumably why it doesn't match the Heading sizes.
Possibly related to another QML page header regression: Bug 410673.
Git commit 87a9ee123346a2bd7851745fb6ea8b899ef7ce5c by Marco Martin. Committed on 29/10/2019 at 16:58. Pushed by mart into branch 'master'. don't use a custom header height M +0 -1 src/kcmoduleqml.cpp https://commits.kde.org/kcmutils/87a9ee123346a2bd7851745fb6ea8b899ef7ce5c
That commit doesn't fix the issue for me, sorry. :(
Headings in QML KCMs still seem slightly smaller than in QWidgets one, although the difference doesn't seem to be as profound as it was before.
I can reproduce on openSUSE Tumbleweed now.
*** Bug 417855 has been marked as a duplicate of this bug. ***
Git commit d325918b33be406930425cdfa49208be6b6f06e7 by Ismael Asensio. Committed on 09/08/2020 at 12:35. Pushed by iasensio into branch 'master'. Do not override Heading pixel size in BreadCrumbControl This fixes the inconsistency found in title sizes between QML KCMs and QWidget KCMs. Both KCM titles use the same logic to calculate the title font.pointSize depending on the heading level: - `Heading.qml:headerPointSize()` in Kirigami - `ktitlewidget.cpp:textStyleSheet()` in KConfigWidgets But setting externally the `Heading.pixelSize` depending on height was overriding this calculation. FIXED-IN: 5.74 MR: https://invent.kde.org/frameworks/kirigami/-/merge_requests/73 M +0 -2 src/controls/private/globaltoolbar/BreadcrumbControl.qml https://invent.kde.org/frameworks/kirigami/commit/d325918b33be406930425cdfa49208be6b6f06e7