Bug 443950

Summary: Text is cut short where it shouldn't be (125% scaling)
Product: [Applications] systemsettings Reporter: Albert O'Shea <albertoshea2>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate
Priority: NOR    
Version: 5.23.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Shows words wrongly cut short

Description Albert O'Shea 2021-10-18 08:43:57 UTC
Created attachment 142566 [details]
Shows words wrongly cut short

SUMMARY
When my global scale is set to 125%, some text is wrongly cut off by three dots (...), even though there is plenty of room to display the full text - see screenshots. I've only observed this in the system settings app so far.

STEPS TO REPRODUCE
1. Set global display to 125%
2. Look in 'Workspace Behaviour > General Behaviour', 'Appearance > Colors', 'Shortcuts' submenus, and possibly more to see words cut off.

KDE Plasma Version: 5.23
KDE Frameworks Version: 5.87
Qt Version: 5.15.2
Comment 1 David Edmundson 2021-10-18 09:27:26 UTC
Please confirm if this happens when running against the breeze theme
Comment 2 Albert O'Shea 2021-10-18 09:29:44 UTC
(In reply to David Edmundson from comment #1)
> Please confirm if this happens when running against the breeze theme

I'm running breeze dark with green accent. Yes, it happens with breeze dark on the default accent too
Comment 3 Albert O'Shea 2021-10-18 10:53:14 UTC
Ah, I forgot I have a different font set... Sorry. I'm using Fira Sans. Switching back to the default font fixes this. Although, this is still unexpected behaviour as Fira Sans is more compact than Noto Sans, so why would it get cut off like that?
Comment 4 David Edmundson 2021-10-18 12:32:47 UTC
no idea, but that's an important data point.
Comment 5 Albert O'Shea 2021-10-18 12:39:58 UTC
Hmm, I actually can't reproduce this bug now, even when setting the font back to Mira and fiddling with global scaling
Comment 6 David Edmundson 2021-10-18 15:39:42 UTC
Ok, I don't think we can work on this currently without some narrowing this down.

If you can find something relevant please reopen.

I have seen something similar when the QtQuickControls style wasn't loaded correctly which is always setup issues.
Comment 7 Nate Graham 2021-10-18 16:33:47 UTC

*** This bug has been marked as a duplicate of bug 432372 ***
Comment 8 Nate Graham 2021-10-18 16:34:22 UTC
It's a Qt issue with using non-integer font sizes.