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
FIXED-IN:0.9.9
pull/16/head
Michail Vourlakos 5 years ago
parent 4ff45510b2
commit a2b714d307

@ -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());
}

Loading…
Cancel
Save