From 30cd10b7a25fc5b2ff22c53210f8bc1da7e3a751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 21 Dec 2023 10:41:54 +0100 Subject: [PATCH] Hide overview on lock Resolves: RHEL-17349 --- ...e-overview-on-session-mode-hasOvervi.patch | 38 +++++++++++++++++++ gnome-shell.spec | 7 +++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 0001-overview-Hide-the-overview-on-session-mode-hasOvervi.patch diff --git a/0001-overview-Hide-the-overview-on-session-mode-hasOvervi.patch b/0001-overview-Hide-the-overview-on-session-mode-hasOvervi.patch new file mode 100644 index 0000000..2fe001a --- /dev/null +++ b/0001-overview-Hide-the-overview-on-session-mode-hasOvervi.patch @@ -0,0 +1,38 @@ +From 2ddb51234ca69c0e637b35071b4e760d1b72527a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= +Date: Mon, 24 Feb 2020 11:19:28 +0100 +Subject: [PATCH] overview: Hide the overview on session mode hasOverview + changes + +If the sessionMode does not allow to show the overview, we should also +hide an already visible overview. + +This fixes a bug where, if the lockscreen was shown while the overview +was visible, the Ctrl+Alt+Tab popup would allow navigating inside the +overview because the overview actor is still mapped. + +https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1043 +--- + js/ui/overview.js | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/js/ui/overview.js b/js/ui/overview.js +index 5bad4cbd62..03cecb6dbc 100644 +--- a/js/ui/overview.js ++++ b/js/ui/overview.js +@@ -196,7 +196,11 @@ var Overview = class { + } + + _sessionUpdated() { +- this.isDummy = !Main.sessionMode.hasOverview; ++ const { hasOverview } = Main.sessionMode; ++ if (!hasOverview) ++ this.hide(); ++ ++ this.isDummy = !hasOverview; + this._createOverview(); + } + +-- +2.43.0 + diff --git a/gnome-shell.spec b/gnome-shell.spec index f608690..7a77423 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -1,6 +1,6 @@ Name: gnome-shell Version: 3.32.2 -Release: 54%{?dist} +Release: 55%{?dist} Summary: Window management and application launching for GNOME Group: User Interface/Desktops @@ -71,6 +71,7 @@ Patch61: 0001-layout-Initialize-regions-unconditionally.patch Patch62: fix-nm-device-settings.patch Patch63: owe-support.patch Patch64: 0001-windowMenu-Ignore-release.patch +Patch65: 0001-overview-Hide-the-overview-on-session-mode-hasOvervi.patch # Backport JS invalid access warnings (#1651894, #1663171, #1642482, #1637622) Patch70: fix-invalid-access-warnings.patch @@ -288,6 +289,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de %{_mandir}/man1/%{name}.1.gz %changelog +* Thu Dec 21 2023 Florian Müllner - 3.32.2-55 +- Hide the overview on lock + Resolves: RHEL-17349 + * Wed Nov 01 2023 Michael Catanzaro - 3.32.2-54 - Disable captive portal helper if WebKitGTK is not installed Resolves: RHEL-10488