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
pull/4/head
Michail Vourlakos 6 years ago
parent fb78f49d8f
commit 62033157f6

@ -288,6 +288,10 @@ void GlobalShortcuts::activateLauncherMenu()
if (provides.contains(QLatin1String("org.kde.plasma.launchermenu"))) { if (provides.contains(QLatin1String("org.kde.plasma.launchermenu"))) {
if (view->visibility()->isHidden()) { if (view->visibility()->isHidden()) {
if (!m_hideDocks.contains(view)) {
m_hideDocks.append(view);
}
m_lastInvokedAction = m_singleMetaAction; m_lastInvokedAction = m_singleMetaAction;
view->visibility()->setBlockHiding(true); view->visibility()->setBlockHiding(true);
@ -296,6 +300,8 @@ void GlobalShortcuts::activateLauncherMenu()
QTimer::singleShot(APPLETEXECUTIONDELAY, [this, view, applet]() { QTimer::singleShot(APPLETEXECUTIONDELAY, [this, view, applet]() {
view->toggleAppletExpanded(applet->id()); view->toggleAppletExpanded(applet->id());
}); });
m_hideDocksTimer.start();
} else { } else {
view->toggleAppletExpanded(applet->id()); view->toggleAppletExpanded(applet->id());
} }

Loading…
Cancel
Save