Tested with laptop 202211-30793 which only has 1920x1200 for internal
display. Install stock 23.04 iso image and update gnome-control-center
1:44.0-1ubuntu6 from lunar-proposed. Connected DUT with external monitor
which had resolution 1920x1080. Open gnome-control-center, switch to
Display panel and select mirror mode. And gnome-control-center won't
crash.

** Tags removed: verification-needed-lunar
** Tags added: verification-done-lunar

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
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:
  Fix Committed
Status in gnome-control-center source package in Kinetic:
  Won't Fix
Status in gnome-control-center source package in Lunar:
  Fix Committed

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.

  This particular bug requires two screens that have a screen resolution
  that they don't both share. (See comment 12 for an example).

  1. Connect the monitors
  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]
  This only modifies the code related to mirror mode in Displays panel.

  For Lunar, check variable (best_mode) before using it. This patch is
  backported from GNOME 45 Alpha.

  For Jammy, include the Lunar patch and update the way to find cloning
  mode. These 2 additional patches are backported from gnome-control-
  center 43.

  [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


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