@@ -35,6 +35,7 @@ FocusScope {
35 property real progress: dragArea.dragging && dragArea.touchX > panelWidth ?
35 property real progress: dragArea.dragging && dragArea.touchX > panelWidth ?
36 (width * (dragArea.touchX-panelWidth) / (width - panelWidth)) : 0
36 (width * (dragArea.touchX-panelWidth) / (width - panelWidth)) : 0
38+ property bool superPressed: false
38 property bool superTabPressed: false
39 property bool superTabPressed: false
40 readonly property bool dragging: dragArea.dragging
41 readonly property bool dragging: dragArea.dragging
@@ -60,11 +61,25 @@ FocusScope {
64+ onSuperPressedChanged: {
66+ superPressTimer.start();
67+ superLongPressTimer.start();
69+ superPressTimer.stop();
70+ superLongPressTimer.stop();
71+ launcher.switchToNextState("");
72+ panel.shortcutHintsShown = false;
63 onSuperTabPressedChanged: {
76 onSuperTabPressedChanged: {
64 if (superTabPressed) {
77 if (superTabPressed) {
65 switchToNextState("visible")
78 switchToNextState("visible")
66 panel.highlightIndex = -1;
79 panel.highlightIndex = -1;
67 root.focus = true;
80 root.focus = true;
81+ superPressTimer.stop();
82+ superLongPressTimer.stop();
69 if (panel.highlightIndex == -1) {
84 if (panel.highlightIndex == -1) {
70 showDashHome();
85 showDashHome();
@@ -158,6 +173,23 @@ FocusScope {
180+ switchToNextState("visible")
185+ id: superLongPressTimer
188+ switchToNextState("visible")
189+ panel.shortcutHintsShown = true;
162 id: teaseTimer
194 id: teaseTimer
163 interval: mode == "teasing" ? 200 : 300
195 interval: mode == "teasing" ? 200 : 300