Bug 414744 - kwin doesn't follow the global scaling factor set by the system on x11
Summary: kwin doesn't follow the global scaling factor set by the system on x11
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.17.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-02 10:54 UTC by huyizheng
Modified: 2019-12-02 12:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Minimization's animation (1.40 MB, video/mp4)
2019-12-02 10:54 UTC, huyizheng
Details
context menu on window's titlebar (286.18 KB, image/png)
2019-12-02 10:55 UTC, huyizheng
Details

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