on xenial help sign in
Shell.qml: fix underlay.fullyCovered property.
dda685bDaniel d'Andrada
qml/Shell.qml+3−1
@@ -119,7 +119,8 @@ Item {
119 anchors.fill: parent
119 anchors.fill: parent
120
120
121 // Whether the underlay is fully covered by opaque UI elements.
121 // Whether the underlay is fully covered by opaque UI elements.
122− property bool fullyCovered: panel.indicators.fullyOpened && shell.width <= panel.indicatorsMenuWidth
122+ property bool fullyCovered: (panel.indicators.fullyOpened && shell.width <= panel.indicatorsMenuWidth)
123+ || stages.fullyShown || greeterWrapper.fullyShown
123 visible: !fullyCovered
124 visible: !fullyCovered
124
125
125 Image {
126 Image {
@@ -587,6 +588,7 @@ Item {
587 StandardAnimation {}
588 StandardAnimation {}
588 }
589 }
589
590
591+ property bool fullyShown: showProgress === 1.0
590 readonly property real showProgress: MathUtils.clamp((1 - x/width) + greeter.showProgress - 1, 0, 1)
592 readonly property real showProgress: MathUtils.clamp((1 - x/width) + greeter.showProgress - 1, 0, 1)
591 onShowProgressChanged: if (LightDM.Greeter.promptless && showProgress === 0) greeter.login()
593 onShowProgressChanged: if (LightDM.Greeter.promptless && showProgress === 0) greeter.login()
592
594