Summary: | Titles of QtQuick and QtWidgets KCMs aren't 100% identical in positioning | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | John Veness <john.kde> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 4wy78uwh, isma.af, kdedev, nate |
Priority: | NOR | ||
Version First Reported In: | 6.3.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kwidgetsaddons/-/commit/8833754cfba09ccf38cfce2ff28b95bce2510967 | Version Fixed In: | 6.14 |
Sentry Crash Report: | |||
Attachments: |
Fonts screenshot
Font Management screenshot Comparison of titles of Fonts, Font Management and Window Behavior |
Description
John Veness
2025-04-07 19:34:17 UTC
Created attachment 180075 [details]
Fonts screenshot
Created attachment 180076 [details]
Font Management screenshot
You have a good eye! I compared both of those kcms with Window Behavior and found that it's "Font" that is lower than this or Font Management. I'm attaching a comparison I created of the title areas side by side with a guideline to show the difference. Created attachment 180081 [details]
Comparison of titles of Fonts, Font Management and Window Behavior
Confirmed the discrepancy on git-master
I don't know if any other kcms are affected
It's an artifact of the difference between QtQuick and QtWidgets KCMs. Font Management is QtWidgets; the others are QtQuick. We've done a *lot* of tweaking here, but keeping them permanently synced is challenging for technical reasons. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kwidgetsaddons/-/merge_requests/307 Git commit 8833754cfba09ccf38cfce2ff28b95bce2510967 by Ismael Asensio. Committed on 14/04/2025 at 01:23. Pushed by iasensio into branch 'master'. KTitleWidget: Compensate extra pixel between layouts The widget's internal `QGridLayout` is contained within a `QVBoxLayout` to allow proper arrangement. This, however adds an extra pixel at the bottom, which pushes up the vertically centered label. Add this 1px to the top margin to compensate the vertical alignment FIXED-IN: 6.14 M +2 -1 src/ktitlewidget.cpp https://invent.kde.org/frameworks/kwidgetsaddons/-/commit/8833754cfba09ccf38cfce2ff28b95bce2510967 |