From 276912bf31f88e360e35c261bfd94cb2ab2995a4 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Sat, 18 Apr 2026 19:41:10 +0200 Subject: [PATCH] Fix dock reserver crash in convergence mode navigationPanelThickness is explicitly 0 in convergence mode, so using it as the layer-shell surface height triggered a Wayland protocol error and crashed the shell. Use gridUnit * 3 directly, matching the dock bar height set on FavouritesBar. --- containments/taskpanel/qml/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containments/taskpanel/qml/main.qml b/containments/taskpanel/qml/main.qml index 7d78f2cc..9f3aa4cf 100644 --- a/containments/taskpanel/qml/main.qml +++ b/containments/taskpanel/qml/main.qml @@ -158,13 +158,13 @@ ContainmentItem { color: "transparent" flags: Qt.FramelessWindowHint | Qt.WindowTransparentForInput // height is set by layer-shell anchoring; provide a fallback. - height: root.navigationPanelHeight + height: Kirigami.Units.gridUnit * 3 width: 1 // layer-shell stretches it via AnchorLeft|AnchorRight LayerShell.Window.scope: "dock-space" LayerShell.Window.layer: LayerShell.Window.LayerBottom LayerShell.Window.anchors: LayerShell.Window.AnchorBottom | LayerShell.Window.AnchorLeft | LayerShell.Window.AnchorRight - LayerShell.Window.exclusionZone: root.navigationPanelHeight + LayerShell.Window.exclusionZone: Kirigami.Units.gridUnit * 3 LayerShell.Window.keyboardInteractivity: LayerShell.Window.KeyboardInteractivityNone }