[Bug 2026228] Re: gnome-control-center crashed when switching to mirror mode and monitors don't have matched resolution

Launchpad Bug Tracker 2026228 at bugs.launchpad.net
Wed Jul 12 20:04:24 UTC 2023


This bug was fixed in the package gnome-control-center - 1:44.3-1ubuntu2

---------------
gnome-control-center (1:44.3-1ubuntu2) mantic; urgency=medium

  * Add patch to fix mirror mode crash when resolution of
    the 2 monitors don't match (LP: #2026228)

 -- Dirk Su <dirk.su at canonical.com>  Wed, 12 Jul 2023 13:29:55 -0400

** Changed in: gnome-control-center (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2026228

Title:
  gnome-control-center crashed when switching to mirror mode and
  monitors don't have matched resolution

Status in OEM Priority Project:
  Confirmed
Status in gnome-control-center package in Ubuntu:
  Fix Released
Status in gnome-control-center source package in Jammy:
  New
Status in gnome-control-center source package in Kinetic:
  Won't Fix
Status in gnome-control-center source package in Lunar:
  Incomplete

Bug description:
  [Impact]
  gnome-control-center crashed when switching to mirror mode and monitors don't have matched resolution

  [Test case]
  Mirror mode is only an option if there are only 2 monitors connected even if one monitor is disabled. A laptop's internal screen counts as one of the monitors.

  1. Connected monitors to system which don't have same resolution.
  2. Open the GNOME Settings app (gnome-control-center)
  3. On the left sidebar, click Displays to switch to the Display panel
  4. Switch to mirror mode
  3. gnome-control-center won't crash

  [Where problems could occur]
  It only modified the code related to mirror mode in Displays panel. For KK and LL check variable (best_mode) before using it. For Jammy, modified the way to find cloning mode and check the variable (best_mode) . The second patch already included in gnome-42. The risk will be low.

  [Other info]
  Two Merge Request are related
  1. Check best_mode exist before adding flag (https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1835)
  2. Use virtual clone modes when mirroring  (https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1376)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2026228/+subscriptions




More information about the Ubuntu-sponsors mailing list