Bug 448527

Summary: System Settings draws a header for QtWidgets KCMs that is misaligned compared to the headers of QtQuick KCMs
Product: [Applications] systemsettings Reporter: PhilipB <filipebaltazar1>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 5.23.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:
Attachments: KCM windows put together to show difference

Description PhilipB 2022-01-15 14:21:09 UTC
Created attachment 145493 [details]
KCM windows put together to show difference

Header Title Text visibly out of alignment in the Font Management KCM.


STEPS TO REPRODUCE
1. Open System Settings;
2. Go to Appearance > Font Management; 
3. Go to any other KCM in Appearance.

OBSERVED RESULT

Title text on Font Management is clearly vertically misaligned when compared to any of the other KCM in the Appearance category.

EXPECTED RESULT

Title text should be equally aligned as the other KCM.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Text alignment only checked in the Appearance KCMs whilst using X11 session.
Comment 1 Nate Graham 2022-01-21 01:45:15 UTC
Yeah, the Font Management KCM is written with QtWidgets, and System Settings injects a custom header for those KCMs, whereas QtQuick KCMs have standard headers. Making the custom header be pixel-for-pixel identical with the standard ones is a neverending nightmare that will never really go away until we kill off all the QtWidgets KCMs and only have QtQuick KCMs, at which point we can delete the entire systemsettings shell app codebase and display our KCMs only in the plasma-settings app which can only load QtQuick KCMs and is currently only used on Plasma Mobile. We can put a day or two of effort into making it more desktop-friendly and solve approximately five trillion bugs by killing off System Settings.
Comment 2 Nate Graham 2023-09-27 21:03:45 UTC
This is as fixed as we can fix it, as of Plasma 5.27.