From 59ec6af0db21e1134ddb7935f6240b19094fc2e3 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Wed, 8 Apr 2026 19:07:12 +0200 Subject: [PATCH] Toggle action drawer on click in convergence mode Use the new SwipeArea clicked() signal to open/close the action drawer on a single click when convergence mode is enabled. The existing swipe gesture remains available as a fallback. --- .../qml/actiondrawer/ActionDrawerOpenSurface.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml b/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml index 1c5d18fb..91b4c0fb 100644 --- a/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml +++ b/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml @@ -62,4 +62,15 @@ MobileShell.SwipeArea { onTouchpadScrollStarted: (point) => startSwipeWithPoint(point) onTouchpadScrollEnded: endSwipe() onTouchpadScrollMove: (totalDeltaX, totalDeltaY, deltaX, deltaY) => updateOffset(deltaY); + + // In convergence mode, allow click to toggle the action drawer (mouse-friendly) + onClicked: { + if (ShellSettings.Settings.convergenceModeEnabled) { + if (actionDrawer.intendedToBeVisible) { + actionDrawer.close(); + } else { + actionDrawer.open(); + } + } + } }