From 62033157f675bee68b969fb280578dd2a0102123 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Wed, 23 Jan 2019 23:02:42 +0200 Subject: [PATCH] unblock View after AppLaucher shortcut trigger --the Application Launcher triggering through global shortcuts (codepath) was missing a release for visibilitymanager in order to work correctly after the applet trigerring. BUG: 403471 --- app/globalshortcuts.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/globalshortcuts.cpp b/app/globalshortcuts.cpp index a898e0834..6b378c897 100644 --- a/app/globalshortcuts.cpp +++ b/app/globalshortcuts.cpp @@ -288,6 +288,10 @@ void GlobalShortcuts::activateLauncherMenu() if (provides.contains(QLatin1String("org.kde.plasma.launchermenu"))) { if (view->visibility()->isHidden()) { + if (!m_hideDocks.contains(view)) { + m_hideDocks.append(view); + } + m_lastInvokedAction = m_singleMetaAction; view->visibility()->setBlockHiding(true); @@ -296,6 +300,8 @@ void GlobalShortcuts::activateLauncherMenu() QTimer::singleShot(APPLETEXECUTIONDELAY, [this, view, applet]() { view->toggleAppletExpanded(applet->id()); }); + + m_hideDocksTimer.start(); } else { view->toggleAppletExpanded(applet->id()); }