From 05f5532c7deac890dc7bdfaa80e4bc8d83a28457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 11 Aug 2023 11:59:43 +0200 Subject: [PATCH] status/backgroundApps: Close after activating app We should leave the overview and close quick settings, like we do elsewhere when launching something. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6895 Part-of: --- js/ui/status/backgroundApps.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/ui/status/backgroundApps.js b/js/ui/status/backgroundApps.js index ad7ea7d65..d6f2e495b 100644 --- a/js/ui/status/backgroundApps.js +++ b/js/ui/status/backgroundApps.js @@ -95,7 +95,11 @@ const BackgroundAppMenuItem = GObject.registerClass({ closeButton.connect('clicked', () => this._quitApp().catch(logError)); - this.connect('activate', () => this.app.activate()); + this.connect('activate', () => { + Main.overview.hide(); + Main.panel.closeQuickSettings(); + this.app.activate(); + }); this.connect('destroy', () => this._onDestroy()); }