on xenial help sign in
Shell.qml: fix underlay.fullyCovered property.

Thanks to Shell's qmluitest for pointing that out!

commitdda685beaa8377c12c16d71f8dbb4992f5bc4067 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateWed 23 Jul 2014, 15:00 (12 years ago) parentd5b39dc
1 file changed+3−1
qml/Shell.qml+3−1
qml/Shell.qml+3−1
@@ -119,7 +119,8 @@ Item {
119119 anchors.fill: parent
120120
121121 // 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
123124 visible: !fullyCovered
124125
125126 Image {
@@ -587,6 +588,7 @@ Item {
587588 StandardAnimation {}
588589 }
589590
591+ property bool fullyShown: showProgress === 1.0
590592 readonly property real showProgress: MathUtils.clamp((1 - x/width) + greeter.showProgress - 1, 0, 1)
591593 onShowProgressChanged: if (LightDM.Greeter.promptless && showProgress === 0) greeter.login()
592594