From c415ac3b51ec81d5a36ffecb92bb617d2ba1930a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 23 Sep 2024 13:36:18 +0200 Subject: [PATCH] appIcons: Raise the snap store before selecting a snap LP: #2081716 --- appIcons.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appIcons.js b/appIcons.js index 8fc220b74..391f80b6f 100644 --- a/appIcons.js +++ b/appIcons.js @@ -1219,7 +1219,8 @@ const DockAppIconMenu = class DockAppIconMenu extends PopupMenu.PopupMenu { if (snapStore) { this._appendSeparator(); const item = this._appendMenuItem(_('App Details')); - item.connect('activate', () => { + item.connect('activate', (_, event) => { + snapStore.activate_full(-1, event.get_time()); Util.spawnApp( [...snapStore.appInfo.get_commandline().split(' '), snapName]); Main.overview.hide();