From 105af544c9069f2ccbcb80fc460e7c9dba2a26f5 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Tue, 27 Sep 2022 06:26:38 +0000 Subject: [PATCH] Don't accept space and enter key events in empty WindowHeaps This fixes being able to select an empty desktop. CCBUG: 457910 --- src/effects/private/qml/WindowHeap.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/private/qml/WindowHeap.qml b/src/effects/private/qml/WindowHeap.qml index aa0436df05..e445af4b72 100644 --- a/src/effects/private/qml/WindowHeap.qml +++ b/src/effects/private/qml/WindowHeap.qml @@ -339,7 +339,7 @@ FocusScope { break; case Qt.Key_Return: case Qt.Key_Space: - handled = true; + handled = false; let selectedItem = null; if (selectedIndex !== -1) { selectedItem = windowsRepeater.itemAt(selectedIndex);