Bug 422551

Summary: Window decoration corner radius does not respect scale factor
Product: [Plasma] Breeze Reporter: Nate Graham <nate>
Component: window decorationAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kamikazow, kde, postix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.22

Description Nate Graham 2020-06-06 19:53:30 UTC
OpenSUSE Tumbleweed with Qt 5.15 and all KDE software built from today's git master.

STEPS TO REPRODUCE
1. Set scale factor to 200%
2. Reboot
3. Open any app with server-side decorations (i.e. a KWin-drawn titlebar)

OBSERVED RESULT
The corner radius of the top corners is not scaled with the scale factor, so it is very small and the window looks almost square.

EXPECTED RESULT
The corner radius is is exactly the same physical size at 200% scale on a 4k screen as it would be at 100% scale on an FHD screen.
Comment 1 Bug Janitor Service 2021-05-03 17:03:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze/-/merge_requests/100
Comment 2 Nate Graham 2021-05-06 18:14:14 UTC
Git commit f53fb9295e6f4914d8538f153bea2b1e89f2df2a by Nate Graham, on behalf of Paul McAuley.
Committed on 06/05/2021 at 18:13.
Pushed by ngraham into branch 'master'.

Scale corner radii by smallSpacing factor

M  +9    -9    kdecoration/breeze.h
M  +33   -23   kdecoration/breezedecoration.cpp
M  +6    -2    kdecoration/breezedecoration.h

https://invent.kde.org/plasma/breeze/commit/f53fb9295e6f4914d8538f153bea2b1e89f2df2a