1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-24 05:33:50 +03:00

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
This commit is contained in:
Michail Vourlakos 2020-02-08 23:28:39 +02:00
parent 1162b1e302
commit 3220bfefbd

View File

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