Created attachment 160672 [details] screenshot STEPS TO REPRODUCE 1. oen System Sounds KCM 2. observe the play button 3. OBSERVED RESULT as we can see in the attached screenshot, the play button is misplaced EXPECTED RESULT play button in the correct place SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.6.0 Graphics Platform: Wayland
Are you using a fractional point size with a non-default font?
I use an integer size with a non-default font.
What font? Does it happen with 10pt Noto Sans?
SF Pro Display font. Cannot reproduce with 10pt Noto Sans.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3149
Git commit a61ab30ad0f6f341b805c2e5ad3bd471b53f8c5e by Ismael Asensio. Committed on 02/08/2023 at 22:51. Pushed by iasensio into branch 'master'. kcms/soundtheme: Better compact mode calculation Slightly adjust the width calculation to position the demo play button on top and avoid edge cases (ex Noto Sans 11pt). This mode is however a small workaround as we cannot set a minimum size for the cards. Ideally, it can be dropped if we adopt non-resizable cards for the KCMs. FIXED-IN: 6 M +2 -2 kcms/soundtheme/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/a61ab30ad0f6f341b805c2e5ad3bd471b53f8c5e
Created attachment 165815 [details] new screenshot Can reproduce again when using SF Pro Display font. Operating System: KDE neon Unstable Edition KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.1 Graphics Platform: Wayland
Fonts with the name "Display" in them are not intended for use on a screen; they're intended for use on physical signs and billboards. As such they have odd metrics that can provoke issues like this on your screen. I recommend not using Display fonts for the UI on your machine. If you insist on using it, don't submit bug reports for issues that it causes. :) I should add a warning on the Fonts KCM about that.