Bug 417430 - label of checkbox is cut off when I use fractional display scaling
Summary: label of checkbox is cut off when I use fractional display scaling
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwindecoration (show other bugs)
Version: 5.18.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-11 16:05 UTC by Patrick Silva
Modified: 2020-11-13 21:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.21


Attachments
screenshot (267.70 KB, image/png)
2020-02-11 16:05 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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