From 70ff2fd0e49a88424e982eb86ae90611ee72358a Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Fri, 18 Feb 2022 17:54:20 -0500 Subject: [PATCH] homescreen: Fix app drawer not interactable in empty space Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/176, where spaces without app delegates are not able to be interacted with. All usages of QQC2.Control should be replaced by MobileShell.BaseItem, which prevents flicks from being stolen from parent flickables. --- .../qml/appdrawer/AbstractAppDrawer.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobilehomescreencomponents/qml/appdrawer/AbstractAppDrawer.qml b/components/mobilehomescreencomponents/qml/appdrawer/AbstractAppDrawer.qml index 54d0b8b5..548b0fcf 100644 --- a/components/mobilehomescreencomponents/qml/appdrawer/AbstractAppDrawer.qml +++ b/components/mobilehomescreencomponents/qml/appdrawer/AbstractAppDrawer.qml @@ -148,7 +148,7 @@ Item { spacing: 0 // drawer header - Controls.Control { + MobileShell.BaseItem { id: flickableHeader Layout.preferredHeight: root.headerHeight Layout.fillWidth: true @@ -158,7 +158,7 @@ Item { } // drawer body - Controls.Control { + MobileShell.BaseItem { id: flickableBody Layout.fillHeight: true Layout.fillWidth: true