SUMMARY On Wayland, System Settings allows setting a screen scale less than 100%. When using such a screen scale, UI elements are not scaled down correctly and appear to be clipped off on the right and bottom sides. STEPS TO REPRODUCE 1. Set screen scale to 50% or 75% in the Display Configuration KCM 2. Open any app that uses qqc2-desktop-style. OBSERVED RESULT UI elements with their appearance coming from a qqc2-desktop-style KQuickStyleItem aren't scaled down correctly. EXPECTED RESULT UI elements should be scaled down correctly like the Basic Qt Quick Controls style. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20230828 KDE Plasma Version: 5.27.80 (Plasma 6 git master) KDE Frameworks Version: 5.240.0 Qt Version: 6.5.2 Kernel Version: 6.4.11-1-default (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics Memory: 30.8 GiB of RAM Graphics Processor: AMD Radeon Graphics
Created attachment 161495 [details] bad scaling for KQuickStyleItem
Fixed by 21b5b6ed67ff7bfcda40125708314618935355aa in QtWayland (6.6) client: Clamp fractional scaling to be >= 1.0