Bug 453419 - Incorrect handling of fonts / free space in view
Summary: Incorrect handling of fonts / free space in view
Status: RESOLVED DUPLICATE of bug 432372
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.24.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-05 12:46 UTC by David
Modified: 2022-05-06 13:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Sample screenshot (122.69 KB, image/png)
2022-05-05 12:46 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2022-05-05 12:46:33 UTC
Created attachment 148581 [details]
Sample screenshot

SUMMARY
When changing the default system fonts, system settings app shows truncated text strings.


STEPS TO REPRODUCE
1. Change system fonts to something else. In my case, Roboto 10.5 pt
2. Exit system settings
3. Reopen system settings

OBSERVED RESULT
Text strings are truncated

EXPECTED RESULT
Text strings have more than enough space. they should be completely visible.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.5-200.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
I've used Qt and I can recognize this behavior being related to the use of QFontMetrics::elidedText() or something similar. But the cause of the problem is elsewhere (specifically, in the wrong boundaries given). 
As you can see from the attached screenshot, there is much space available that the view doesn't take advantage of, no matter what I try.
Comment 1 Nate Graham 2022-05-05 22:09:25 UTC
You'll need to change your font back to have an integer size to work around this bug. See Bug 432372 for details.

*** This bug has been marked as a duplicate of bug 432372 ***
Comment 2 David 2022-05-06 13:54:47 UTC
(In reply to Nate Graham from comment #1)
> You'll need to change your font back to have an integer size to work around
> this bug. See Bug 432372 for details.

cool one, thanks.