From 0ef1d4bfa346b09dc37fa46c8d4fc82032852e64 Mon Sep 17 00:00:00 2001 From: James Graham Date: Sun, 27 Nov 2022 13:31:04 +0000 Subject: [PATCH] Fix RoomDrawer Button Visibility Change the condition for RoomDrawer handle visibility to pageStack.visibleItems.length > 1 rather than wideMode so that it is always visible when the window is wide enough to have 2 pages shown. BUG: 455976 --- src/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/main.qml b/src/qml/main.qml index 9d01844b5..08bde2f63 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -159,7 +159,7 @@ Kirigami.ApplicationWindow { } } enabled: RoomManager.hasOpenRoom && pageStack.layers.depth < 2 && pageStack.depth < 3 - handleVisible: enabled && pageStack.layers.depth < 2 && pageStack.depth < 3 && (root.wideScreen || pageStack.currentIndex > 0) + handleVisible: enabled && (pageStack.visibleItems.length > 1 || pageStack.currentIndex > 0) } readonly property int defaultPageWidth: Kirigami.Units.gridUnit * 17