diff --git a/qml/Launcher/Launcher.qml b/qml/Launcher/Launcher.qml index d81d35411..dd4fefbe6 100644 --- a/qml/Launcher/Launcher.qml +++ b/qml/Launcher/Launcher.qml @@ -72,7 +72,7 @@ FocusScope { if (state == "drawer") return; - if (superPressed) { + if (superPressed && root.available) { superPressTimer.start(); superLongPressTimer.start(); } else { diff --git a/qml/Shell.qml b/qml/Shell.qml index ebc7cf020..f54ebf4b0 100644 --- a/qml/Shell.qml +++ b/qml/Shell.qml @@ -625,18 +625,21 @@ StyledItem { GlobalShortcut { shortcut: Qt.MetaModifier | Qt.Key_A + active: launcher.available onTriggered: { launcher.toggleDrawer(true); } } GlobalShortcut { shortcut: Qt.AltModifier | Qt.Key_F1 + active: launcher.available onTriggered: { launcher.openForKeyboardNavigation(); } } GlobalShortcut { shortcut: Qt.MetaModifier | Qt.Key_0 + active: launcher.available onTriggered: { if (LauncherModel.get(9)) { activateApplication(LauncherModel.get(9).appId); @@ -647,6 +650,7 @@ StyledItem { model: 9 GlobalShortcut { shortcut: Qt.MetaModifier | (Qt.Key_1 + index) + active: launcher.available onTriggered: { if (LauncherModel.get(index)) { activateApplication(LauncherModel.get(index).appId);