I can reproduced the gnome-control-center crash on Lunar. The crash only happened when two monitor can't find match resolution. My laptop's internal display only has one resolution 1920x1200, external monitor's highest resolution is 1920x1080. When switching to mirror mode in gnome- control-center, it will crashed.
** Changed in: gnome-control-center (Ubuntu Lunar) Status: Incomplete => Confirmed -- 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: New Status in gnome-control-center source package in Kinetic: Won't Fix Status in gnome-control-center source package in Lunar: Confirmed 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 -- 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