on xenial help sign in
Merge pull request #432 from ubports/xenial_-_drawerstayopendamnit

qml: Fix Drawer hiding away under the user

commitc73a8d3769576dea7d93dcc63008f1ae0cc563ac authorFlorian Leeber <florian@ubports.com> dateTue 31 May 2022, 22:03 (4 years ago) parent80a00d75e82f53
1 file changed+6−1
unifiedsplit
qml/Launcher/Launcher.qml+6−1
qml/Launcher/Launcher.qml+6−1
@@ -427,7 +427,7 @@ FocusScope {
427427 Connections {
428428 target: panel.dismissTimer
429429 onTriggered: {
430− if (root.autohideEnabled && !root.lockedVisible) {
430+ if (root.state !== "drawer" && root.autohideEnabled && !root.lockedVisible) {
431431 if (!edgeBarrier.containsMouse && !panel.preventHiding) {
432432 root.state = ""
433433 } else {
@@ -609,6 +609,11 @@ FocusScope {
609609 anchors.rightMargin: 0
610610 focus: false
611611 }
612+ PropertyChanges {
613+ target: root
614+ restoreEntryValues: false
615+ autohideEnabled: false
616+ }
612617 },
613618 State {
614619 name: "drawer"