Bug 417430

Summary: label of checkbox is cut off when I use fractional display scaling
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcm_kwindecorationAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dev-kde, nate, plasma-bugs
Priority: NOR    
Version: 5.18.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.21
Attachments: screenshot

Description Patrick Silva 2020-02-11 16:05:09 UTC
Created attachment 125851 [details]
screenshot

STEPS TO REPRODUCE
1.  set display scale to 125%
2. restart Plasma session
3. open system settings > application style > window decorations

OBSERVED RESULT
label of checkbox is cut off. See the attached screenshot please.

EXPECTED RESULT
label of checkbox should be entirely readable 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 1 Frank Steinmetzger 2020-06-15 00:06:20 UTC
I reported a similar problem a while back: <https://bugs.kde.org/show_bug.cgi?id=375660>. I was using a non-integer font size, so the developers suspected a rounding error within QtQuick. Maybe this helps with finding the cause for this issue. I also used a non-standard font DPI setting.
Comment 2 Ismael Asensio 2020-11-13 21:39:53 UTC
Git commit 9cf52340efe6a3958285a796e52420db227d739e by Ismael Asensio.
Committed on 13/11/2020 at 21:00.
Pushed by iasensio into branch 'master'.

kcm/decorations: Simplify border selection

Use a single combobox instead of checkbox + combobox.
Adds a new property that acts as a proxy for the configuration value,
while internal configuration properties are kept unchanged.
Related: bug 426157
FIXED-IN: 5.21

M  +22   -1    kcmkwin/kwindecoration/kcm.cpp
M  +6    -2    kcmkwin/kwindecoration/kcm.h
M  +7    -38   kcmkwin/kwindecoration/package/contents/ui/main.qml

https://invent.kde.org/plasma/kwin/commit/9cf52340efe6a3958285a796e52420db227d739e