This bug was fixed in the package mutter -
3.28.4+git20200505-0ubuntu18.04.2

---------------
mutter (3.28.4+git20200505-0ubuntu18.04.2) bionic; urgency=medium

  * debian/patches: Cherry-pick patch to make mutter compile with newer mesa
    (LP: #1896825)

mutter (3.28.4+git20200505-0ubuntu18.04.1) bionic; urgency=medium

  * New upstream git snapsnot
    - monitor-manager: use MonitorsConfig to track switch_config
    - monitor-manager: Don't use switch-config when ensuring configuration
    - core: Avoid consecutive workspace changes in window construction
    - core: propagate the effective on-all-workspaces setting to transient 
window
    - window: Really propagate effective on-all-workspaces setting to transients
    - monitor-config-manager: Fallback to closed laptop lid configuration
      (LP: #1793496)
  * debian/control*: update VCS informations to point to ubuntu salsa branch
  * d/p/monitor-manager-Don-t-use-switch-config-when-ensuring-con.patch,
    d/p/monitor-manager-use-MonitorsConfig-to-track-switch_config.patch,
    d/p/screen-Destroy-window-actors-after-windows-while-unmanagi.patch,
    d/p/screen-Unset-the-active-workspace-and-remove-workspaces-o.patch,
    d/p/stack-Add-a-function-to-get-a-sorted-list-of-focus-candid.patch,
    d/p/test-runner-Add-assert_focused-command.patch,
    d/p/test-runner-Add-dispatch-command.patch,
    d/p/test-runner-Add-sleep-command.patch,
    d/p/tests-Add-accept_focus-command-to-runner-and-client.patch,
    d/p/tests-Add-can_take_focus-command-to-runner-and-client.patch,
    d/p/tests-Verify-focused-window-in-closed-transient-tests.patch,
    d/p/tests-stacking-Add-tests-with-no-input-and-no-take-focus-.patch,
    d/p/window-Emit-an-error-and-return-when-trying-to-activate-a.patch,
    d/p/window-x11-Accept-any-focusable-window-as-fallback-focus.patch,
    d/p/window-x11-Don-t-double-check-for-unmanaging-windows.patch,
    d/p/window-x11-Focus-a-window-in-the-active-workspace-as-take.patch,
    d/p/window-x11-Focus-the-default-window-with-delay-while-wait.patch,
    d/p/window-x11-Use-any-focusable-window-as-fallback-delayed-f.patch,
    d/p/workspace-Focus-only-ancestors-that-are-focusable.patch:
    - Dropped, included in the git snapshot already

 -- Marco Trevisan (Treviño) <ma...@ubuntu.com>  Wed, 23 Sep 2020
21:29:30 +0200

** Changed in: mutter (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
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/1793496

Title:
  scaling changes when closing/re-opening the lid

Status in Mutter:
  New
Status in mutter package in Ubuntu:
  Fix Released
Status in mutter source package in Bionic:
  Fix Released
Status in mutter source package in Focal:
  Fix Released

Bug description:
  [ Impact ]

  scaling changes when closing/re-opening the lid. Seen in bionic.

  My scaling is set to 100%, but the laptop is considered highdpi by
  mutter, and during suspend/resume it changes back to default ignoring
  settings.

  $ xprop -spy -root RESOURCE_MANAGER
  [...]
  RESOURCE_MANAGER(STRING) = 
"*customization:\t-color\nXft.dpi:\t192\nXft.antialias:\t1\nXft.hinting:\t1\nXft.hintstyle:\thintslight\nXft.rgba:\trgb\nXcursor.size:\t48\nXcursor.theme:\tDMZ-White\n"
  RESOURCE_MANAGER(STRING) = 
"*customization:\t-color\nXft.dpi:\t96\nXft.antialias:\t1\nXft.hinting:\t1\nXft.hintstyle:\thintslight\nXft.rgba:\trgb\nXcursor.size:\t24\nXcursor.theme:\tDMZ-White\n"

  xrandr
  Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
  eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y 
axis) 309mm x 174mm
     2560x1440     60.00*+  59.99    59.99    59.96    59.95

  [ Test case ]

  In a laptop with HiDPI screen, force the scaling to 1:

  Run this and close the lid:
   xprop -spy -root RESOURCE_MANAGER

  Once reopened the value should not change and if it does the
  `Xft.dpi:\t96` value should stay constant, and not change to 192.

  [ Regression potential ]

  Wrong resolution is set for the laptop lid

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/1793496/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to