Bug 477148

Summary: Unnecessarily elided text in some list items of KCMs using KCMUtils.PluginSelector
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: me, nate
Priority: NOR Keywords: qt6
Version First Reported In: 5.27.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot1
screenshot2
screenshot3

Description Patrick Silva 2023-11-17 16:10:04 UTC
Created attachment 163243 [details]
screenshot1

STEPS TO REPRODUCE
1. open Plasma Search or Kwin Scripts KCMs
2. read the texts
3. 

OBSERVED RESULT
Unnecessarily elided text seen in the attached screenshots. Kwin Scripts KCM is only affected with a non-default (tested Inter font), Plasma Search KCM is affected even with default font settings

EXPECTED RESULT
no unnecessarily elided text

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 Patrick Silva 2023-11-17 16:10:22 UTC
Created attachment 163244 [details]
screenshot2
Comment 2 Patrick Silva 2023-11-17 16:10:44 UTC
Created attachment 163245 [details]
screenshot3
Comment 3 Nate Graham 2023-11-17 20:53:55 UTC
Are you using a non-integer font size too?
Comment 4 Nate Graham 2023-11-17 20:55:20 UTC
If so, it's probably a recurrence of https://bugreports.qt.io/browse/QTBUG-92006, or some new related Qt issue. Very low chance it's an issue with any KDE code.
Comment 5 Patrick Silva 2023-11-17 21:03:07 UTC
The bug occurs with default font sizes.
Comment 6 Nate Graham 2023-11-29 20:10:38 UTC
Looking at those screenshots, I see all of them using the same plugin loader component. That seems quite related.

Doing some digging, 9342dfae19116af0c08e0b7b1337a562aa78d06e seems like it was trying to fix this issue and went in on November 8th. You're saying you can still reproduce it now, Patrick?
Comment 7 Patrick Silva 2023-11-30 11:54:47 UTC
Cannot reproduce anymore.

Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Graphics Platform: Wayland