From 3220bfefbd1a80ba1529d5772c7af4a7312e50b8 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 8 Feb 2020 23:28:39 +0200 Subject: [PATCH] dont add meta view in hiding views --when the user is triggering an application launcher that is a popup in a hidden view it is not needed to enforced hidden afterwards. The blockHiding will be released automatically when the application launcher popup is closed. BUG:417239 --- app/shortcuts/globalshortcuts.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/shortcuts/globalshortcuts.cpp b/app/shortcuts/globalshortcuts.cpp index 256df1d05..0878089a7 100644 --- a/app/shortcuts/globalshortcuts.cpp +++ b/app/shortcuts/globalshortcuts.cpp @@ -252,10 +252,6 @@ void GlobalShortcuts::activateLauncherMenu() if (highestPriorityView) { if (highestPriorityView->visibility()->isHidden() && highestPriorityView->interface()->applicationLauncherInPopup()) { - if (!m_hideViews.contains(highestPriorityView)) { - m_hideViews.append(highestPriorityView); - } - m_lastInvokedAction = m_singleMetaAction; highestPriorityView->visibility()->setBlockHiding(true); @@ -264,8 +260,6 @@ void GlobalShortcuts::activateLauncherMenu() QTimer::singleShot(APPLETEXECUTIONDELAY, [this, highestPriorityView]() { highestPriorityView->toggleAppletExpanded(highestPriorityView->interface()->applicationLauncherId()); }); - - m_hideViewsTimer.start(); } else { highestPriorityView->toggleAppletExpanded(highestPriorityView->interface()->applicationLauncherId()); }