Thanks, Daniel for the answer. 1. I think I was mistaken, when I set the resolution of the external monitor to 2560 ⨉ 1440 while the lid is closed, it persists after opening and closing the lid, both in X11 and Wayland. So I think the behaviour is like that and there is no bug after all.
2. I don't use fractional scaling because the performance is degraded in X11, and fractional scaling doesn't even work in Wayland. In Wayland, scaling values stay 100%, 200%, 300% and so on, nothing changes whether fractional scaling is on or off. I attached a screenshot that shows fractional scaling in Wayland. It shows the scaling values, and that gnome-control-center is scaled to 200% but Firefox and Goldendict (Qt) are not. ** Attachment added: "Wayland_fractional_scaling.png" https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1888800/+attachment/5395526/+files/Wayland_fractional_scaling.png -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1888800 Title: Resolution of external monitor goes back to its default resolution when laptop lid is closed Status in mutter package in Ubuntu: Incomplete Bug description: The default resolution of my external monitor is 4K UHD (3840 ⨉ 2160). I set its resolution to a lower value (2560 ⨉ 1440). The external monitor is attached to a laptop. When I close the laptop lid, the built-in display is turned off, which is desired, however, the external monitor goes back to its default resolution (3840 ⨉ 2160), which is not desired. When I open back the lid, the built-in display is turned on, and the external monitor resolution stays with the default value (3840 ⨉ 2160), which is also not desired. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: mutter 3.36.3-0ubuntu0.20.04.1 ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44 Uname: Linux 5.4.0-42-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.4 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Fri Jul 24 08:56:58 2020 InstallationDate: Installed on 2020-04-26 (88 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: mutter UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1888800/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

