Bug 485518

Summary: Text is cut off at size 8pt font
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Daniel Petrov <voxelprismatic>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: me, notmart
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Settings panel - "Font" header is cut off at 8pt font
KinfoCenter - "About this System" is cut off at 8pt font
Discover Updates - "Updates" cut off at 8pt font
Settings panel - "Font" header is fine at 7pt font
Discover Updates - "Updates" is fine at 7pt font
KinfoCenter - "About this System" is fine at 7pt font
Settings panel - "Font" header is fine at 9pt font
Discover Updates - "Updates" is fine at 9pt font
KinfoCenter - "About this System" is fine at 9pt font
Even broken without a variable width font

Description Daniel Petrov 2024-04-13 23:37:01 UTC
Created attachment 168485 [details]
Settings panel - "Font" header is cut off at 8pt font

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Regardless of the font itself, it seems like headers in Kirigami are cut off when your general font is cut off when using size 8pt font.

STEPS TO REPRODUCE
1. Set your General font to 8pt, choose any font
2. Navigate to a different panel or restart the app to observe changes

OBSERVED RESULT
Header text is cut off

EXPECTED RESULT
It shouldn't be cut off

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 23.10
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.0
Kernel: 6.5.0-26-generic
Graphics Platform: X11

ADDITIONAL INFORMATION
I am using the KDE Backports PPA, but it has been a bug for a while
Comment 1 Daniel Petrov 2024-04-13 23:37:45 UTC
Created attachment 168486 [details]
KinfoCenter - "About this System" is cut off at 8pt font
Comment 2 Daniel Petrov 2024-04-13 23:38:37 UTC
Created attachment 168487 [details]
Discover Updates - "Updates" cut off at 8pt font
Comment 3 Daniel Petrov 2024-04-13 23:39:50 UTC
Created attachment 168488 [details]
Settings panel - "Font" header is fine at 7pt font

The boxes not showing is another bug, but that's a separate bug
Comment 4 Daniel Petrov 2024-04-13 23:40:39 UTC
Created attachment 168489 [details]
Discover Updates - "Updates" is fine at 7pt font
Comment 5 Daniel Petrov 2024-04-13 23:41:09 UTC
Created attachment 168490 [details]
KinfoCenter - "About this System" is fine at 7pt font
Comment 6 Daniel Petrov 2024-04-13 23:42:05 UTC
Created attachment 168491 [details]
Settings panel - "Font" header is fine at 9pt font
Comment 7 Daniel Petrov 2024-04-13 23:42:28 UTC
Created attachment 168492 [details]
Discover Updates - "Updates" is fine at 9pt font
Comment 8 Daniel Petrov 2024-04-13 23:42:49 UTC
Created attachment 168493 [details]
KinfoCenter - "About this System" is fine at 9pt font
Comment 9 Daniel Petrov 2024-04-13 23:47:08 UTC
Created attachment 168494 [details]
Even broken without a variable width font

Ubuntu.ttf on my system is apparently variable width, but that is a red herring. It doesn't matter which font I use; if it's 8pt, it cuts off. Condensed, monospace, extra bold, doesn't matter. 8pt is broken.
Comment 10 ratijas 2024-04-26 15:34:13 UTC

*** This bug has been marked as a duplicate of bug 474881 ***