Bug 414744

Summary: kwin doesn't follow the global scaling factor set by the system on x11
Product: [Plasma] kwin Reporter: huyizheng
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.17.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Minimization's animation
context menu on window's titlebar

Description huyizheng 2019-12-02 10:54:42 UTC
Created attachment 124259 [details]
Minimization's animation

SUMMARY
kwin doesn't follow the global scaling factor set by the system on x11.
For example, if I set global scaling factor to 2 in system settings, then:
    The icon size at context menu of window's titlebar is small
    The minimization's animation is misplaced

STEPS TO REPRODUCE
1. Set global scaling factor to 2. Or manually export QT_SCREEN_SCALE_FACTORS=2
2. Reboot, and right click on some window's titlebar, and minimize some window.

OBSERVED RESULT
See additional information

EXPECTED RESULT
The icon size at the context menu of window's titlebar should be the same as other icons.
The minimization's animation should not misplaced like this.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Archlinux
(available in About System)
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
Screenshot of context menu of window's titlebar: https://i.loli.net/2019/12/02/cXsdj4CfW53xPzN.png
Minimization's animation is uploaded as attachment.
Comment 1 huyizheng 2019-12-02 10:55:39 UTC
Created attachment 124260 [details]
context menu on window's titlebar
Comment 2 David Edmundson 2019-12-02 12:52:25 UTC
Yes. That realistically can't be fixed.

It works on wayland.