Bug 459457

Summary: Combobox width-calculating metrics do not work properly with certain fonts (one attached)
Product: [Plasma] Breeze Reporter: Patrick Silva <bugseforuns>
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: nate, noahadvs, uhhadd
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Fonts
screenshot1
screenshot2
screenshot3
screenshot4
screenshot5
screenshot6
screenshot7
screenshot8
screenshot9
Audio KCM

Description Patrick Silva 2022-09-20 19:12:48 UTC
Created attachment 152274 [details]
Fonts

SUMMARY
Can reproduce on both Arch Linux (Plasma 5.26 beta) and neon unstable.

STEPS TO REPRODUCE
1. download the attached fonts and extract them
2. open Font Management KCM, click on 'Install from file...' button and install the downloaded fonts
3. restart System Settings
4. open Fonts KCM
5. click on 'Adjust all fonts...' button, check "Font', select 'SF Pro Display' font and click on 'OK' button
6. Apply the font settings

OBSERVED RESULT
some options from comboxes are not entirely readable. Please see the attached screenshots.

EXPECTED RESULT
all options from comboxes are entirely readable

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 1 Patrick Silva 2022-09-20 19:13:08 UTC
Created attachment 152275 [details]
screenshot1
Comment 2 Patrick Silva 2022-09-20 19:13:20 UTC
Created attachment 152276 [details]
screenshot2
Comment 3 Patrick Silva 2022-09-20 19:13:31 UTC
Created attachment 152277 [details]
screenshot3
Comment 4 Patrick Silva 2022-09-20 19:13:43 UTC
Created attachment 152278 [details]
screenshot4
Comment 5 Patrick Silva 2022-09-20 19:13:56 UTC
Created attachment 152279 [details]
screenshot5
Comment 6 Patrick Silva 2022-09-20 19:14:11 UTC
Created attachment 152280 [details]
screenshot6
Comment 7 Patrick Silva 2022-09-20 19:14:27 UTC
Created attachment 152281 [details]
screenshot7
Comment 8 Patrick Silva 2022-09-20 19:14:41 UTC
Created attachment 152282 [details]
screenshot8
Comment 9 Patrick Silva 2022-09-22 14:10:46 UTC
Created attachment 152336 [details]
screenshot9
Comment 10 Patrick Silva 2022-10-13 17:10:08 UTC
Created attachment 152782 [details]
Audio KCM
Comment 11 Patrick Silva 2023-11-13 13:44:57 UTC
It's still reproducible only in Audio KCM.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland