XWayland applications respect scale only if a scaled output is primary on a mixed-scale setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
xorg-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The bug occurs with any XWayland application. I tried VSCode, Chrome, Audacity, Darktable...
I have two monitors with a different DPI. One is 4K HiDPI monitor and the second in LowDPI 2K monitor. I can setup 200% scale for a HiDPI monitor and 100% scale for a LowDPI. All native gnome applications are fine.
The bug: when I select LowDPI monitor as a primary, XWayland applications stop scaling on a HiDPI monitor. They run 100% scale on both monitors. If I select HiDPI monitor as the primary, XWayland applications scales 200% on both monitors.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mutter 3.36.6-
ProcVersionSign
Uname: Linux 5.4.0-52-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 7 12:28:53 2020
InstallationDate: Installed on 2019-11-16 (356 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: mutter
UpgradeStatus: Upgraded to focal on 2020-05-02 (189 days ago)
I'm not sure how Xwayland communicates the scale info to apps, but adding a xorg-server task anyway. Because that's the source package of Xwayland.