From b0ce6acdeac15ad5c2e3b3bf8aa78e14ab0a031d Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Mon, 1 Jun 2026 15:16:46 +0200 Subject: [PATCH] Keep inactive quick-setting tiles clickable Restore the delegate/status-row enabled shadow property so visual state no longer binds to Item.enabled. Without this, off tiles become input-disabled and cannot be turned back on. --- .../qml/actiondrawer/private/QuickSettingsDelegate.qml | 5 +++++ .../qml/actiondrawer/private/QuickSettingsStatusRow.qml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/components/mobileshell/qml/actiondrawer/private/QuickSettingsDelegate.qml b/components/mobileshell/qml/actiondrawer/private/QuickSettingsDelegate.qml index 6bcfecf7..ab9b9633 100644 --- a/components/mobileshell/qml/actiondrawer/private/QuickSettingsDelegate.qml +++ b/components/mobileshell/qml/actiondrawer/private/QuickSettingsDelegate.qml @@ -26,6 +26,11 @@ MobileShell.BaseItem { required property string text required property string status required property string icon + // Visual active-state of the tile. Declared here to shadow the built-in + // Item.enabled: binding the real Item.enabled would disable the contentItem + // MouseArea, making an inactive tile impossible to tap (and thus turn on). + // Tiles are removed from the list via `available`, never disabled. + required property bool enabled required property string settingsCommand required property var toggleFunction diff --git a/components/mobileshell/qml/actiondrawer/private/QuickSettingsStatusRow.qml b/components/mobileshell/qml/actiondrawer/private/QuickSettingsStatusRow.qml index 0729f8dc..2e77029f 100644 --- a/components/mobileshell/qml/actiondrawer/private/QuickSettingsStatusRow.qml +++ b/components/mobileshell/qml/actiondrawer/private/QuickSettingsStatusRow.qml @@ -18,6 +18,10 @@ Item { required property string text required property string status required property string icon + // Visual active-state only. Shadows the built-in Item.enabled so binding it + // does not disable the inner toggle/detail MouseAreas (which would make an + // inactive service impossible to switch on). + required property bool enabled required property var toggleFunction property bool compact: false