diff --git a/quickshell/Modules/DankBar/DankBarWindow.qml b/quickshell/Modules/DankBar/DankBarWindow.qml index 1023aab92..98ac40eb3 100644 --- a/quickshell/Modules/DankBar/DankBarWindow.qml +++ b/quickshell/Modules/DankBar/DankBarWindow.qml @@ -116,17 +116,10 @@ PanelWindow { mask: Region { item: body.clickThroughEnabled || (isIsland && !body.islandBandInteractive) ? null : body.inputMaskItem + // Item-bound: a mapToItem snapshot froze mid-churn on output reconnect, leaving the trailing + // section unclickable (#3594). barRevealed: same ancestor-transform caveat as the island regions. Region { - readonly property var r: barWindow.sectionMasked ? body.leadingSectionRect : { - "x": 0, - "y": 0, - "w": 0, - "h": 0 - } - x: r.x - y: r.y - width: r.w - height: r.h + item: barWindow.sectionMasked && body.barRevealed ? body._leftSection : null } Region { @@ -143,16 +136,7 @@ PanelWindow { } Region { - readonly property var r: barWindow.sectionMasked ? body.trailingSectionRect : { - "x": 0, - "y": 0, - "w": 0, - "h": 0 - } - x: r.x - y: r.y - width: r.w - height: r.h + item: barWindow.sectionMasked && body.barRevealed ? body._rightSection : null } Region {