Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnome-shell for openSUSE:Factory checked in at 2022-05-04 15:10:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old) and /work/SRC/openSUSE:Factory/.gnome-shell.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-shell" Wed May 4 15:10:30 2022 rev:221 rq:974344 version:42.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes 2022-03-23 20:17:09.862421551 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-shell.new.1538/gnome-shell.changes 2022-05-04 15:10:44.448141787 +0200 @@ -1,0 +2,6 @@ +Sat Apr 30 21:25:55 UTC 2022 - Antoine Belvire <antoine.belv...@opensuse.org> + +- Add gnome-shell-42.0-fix-switching-configuration.patch: Fix + monitor switching configuration (glgo#GNOME/gnome-shell#5217). + +------------------------------------------------------------------- New: ---- gnome-shell-42.0-fix-switching-configuration.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-shell.spec ++++++ --- /var/tmp/diff_new_pack.qE6ZTB/_old 2022-05-04 15:10:45.144142643 +0200 +++ /var/tmp/diff_new_pack.qE6ZTB/_new 2022-05-04 15:10:45.156142658 +0200 @@ -43,6 +43,8 @@ Patch7: gnome-shell-executable-path-not-absolute.patch # PATCH-FIX-UPSTREAM gnome-shell-exit-crash-workaround.patch bsc#1190878 glgo#GNOME/gnome-shell#4344 qk...@suse.com -- Workaround logout crashing Patch8: gnome-shell-exit-crash-workaround.patch +# PATCH-FIX-UPSTREAM gnome-shell-42.0-fix-switching-configuration.patch glgo#GNOME/gnome-shell#5217 antoine.belv...@opensuse.org -- Fix monitor switching configuration +Patch9: gnome-shell-42.0-fix-switching-configuration.patch ## NOTE: Keep SLE-only patches at bottom (starting on 1000). # PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 dli...@suse.com -- Add an applet on login UI to display suse icon, product name, hostname. @@ -182,6 +184,7 @@ %patch5 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 %if 0%{?sle_version} %patch1001 -p1 ++++++ gnome-shell-42.0-fix-switching-configuration.patch ++++++ >From 6c44162c17033fa8cbd2bcd58be9b2d3bb9a714a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuell...@gnome.org> Date: Sat, 19 Mar 2022 16:53:59 +0100 Subject: [PATCH] switchMonitor: Fix switching configuration Since commit 37271ffe709fc957, we pass an explicit `switchType` instead of the selected item's index to select a configuration. Alas, the item use `switchMode` as property name, so we always end up passing `undefined`. Change both to `configType` which matches the API on the other end. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5217 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2245> --- js/ui/switchMonitor.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/ui/switchMonitor.js b/js/ui/switchMonitor.js index 7338582188..10b4a50cde 100644 --- a/js/ui/switchMonitor.js +++ b/js/ui/switchMonitor.js @@ -18,7 +18,7 @@ class SwitchMonitorPopup extends SwitcherPopup.SwitcherPopup { * Try to keep it under around 15 characters. */ label: _('Mirror'), - switchMode: Meta.MonitorSwitchConfigType.ALL_MIRROR, + configType: Meta.MonitorSwitchConfigType.ALL_MIRROR, }); items.push({ @@ -27,7 +27,7 @@ class SwitchMonitorPopup extends SwitcherPopup.SwitcherPopup { * Try to keep it under around 15 characters. */ label: _('Join Displays'), - switchMode: Meta.MonitorSwitchConfigType.ALL_LINEAR, + configType: Meta.MonitorSwitchConfigType.ALL_LINEAR, }); if (global.backend.get_monitor_manager().has_builtin_panel) { @@ -37,7 +37,7 @@ class SwitchMonitorPopup extends SwitcherPopup.SwitcherPopup { * Try to keep it under around 15 characters. */ label: _('External Only'), - switchMode: Meta.MonitorSwitchConfigType.EXTERNAL, + configType: Meta.MonitorSwitchConfigType.EXTERNAL, }); items.push({ icon: 'computer-symbolic', @@ -45,7 +45,7 @@ class SwitchMonitorPopup extends SwitcherPopup.SwitcherPopup { * Try to keep it under around 15 characters. */ label: _('Built-in Only'), - switchMode: Meta.MonitorSwitchConfigType.BUILTIN, + configType: Meta.MonitorSwitchConfigType.BUILTIN, }); } @@ -86,7 +86,7 @@ class SwitchMonitorPopup extends SwitcherPopup.SwitcherPopup { const monitorManager = global.backend.get_monitor_manager(); const item = this._items[this._selectedIndex]; - monitorManager.switch_config(item.switchType); + monitorManager.switch_config(item.configType); } }); -- GitLab