Bug 485518 - Text is cut off at size 8pt font
Summary: Text is cut off at size 8pt font
Status: RESOLVED DUPLICATE of bug 474881
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 23:37 UTC by Daniel Petrov
Modified: 2024-04-26 15:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Settings panel - "Font" header is cut off at 8pt font (113.93 KB, image/png)
2024-04-13 23:37 UTC, Daniel Petrov
Details
KinfoCenter - "About this System" is cut off at 8pt font (76.60 KB, image/png)
2024-04-13 23:37 UTC, Daniel Petrov
Details
Discover Updates - "Updates" cut off at 8pt font (145.91 KB, image/png)
2024-04-13 23:38 UTC, Daniel Petrov
Details
Settings panel - "Font" header is fine at 7pt font (112.85 KB, image/png)
2024-04-13 23:39 UTC, Daniel Petrov
Details
Discover Updates - "Updates" is fine at 7pt font (136.59 KB, image/png)
2024-04-13 23:40 UTC, Daniel Petrov
Details
KinfoCenter - "About this System" is fine at 7pt font (70.83 KB, image/png)
2024-04-13 23:41 UTC, Daniel Petrov
Details
Settings panel - "Font" header is fine at 9pt font (71.27 KB, image/png)
2024-04-13 23:42 UTC, Daniel Petrov
Details
Discover Updates - "Updates" is fine at 9pt font (158.75 KB, image/png)
2024-04-13 23:42 UTC, Daniel Petrov
Details
KinfoCenter - "About this System" is fine at 9pt font (79.83 KB, image/png)
2024-04-13 23:42 UTC, Daniel Petrov
Details
Even broken without a variable width font (114.16 KB, image/png)
2024-04-13 23:47 UTC, Daniel Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***