@@ -538,6 +538,8 @@ Item {
538 property string lockedApp: ""
538 property string lockedApp: ""
539 property bool hasLockedApp: lockedApp !== ""
539 property bool hasLockedApp: lockedApp !== ""
541+ property bool ready: shown && required && created
541 available: true
543 available: true
542 hides: [launcher, panel.indicators]
544 hides: [launcher, panel.indicators]
543 shown: true
545 shown: true
@@ -575,8 +577,8 @@ Item {
575 enabled = true;
577 enabled = true;
578− onShownChanged: {
580+ onReadyChanged: {
579− if (shown) {
581+ if (ready) {
580 // Disable everything so that user can't swipe greeter or
582 // Disable everything so that user can't swipe greeter or
581 // launcher until we get the next prompt/authenticate, which
583 // launcher until we get the next prompt/authenticate, which
582 // will re-enable the shell.
584 // will re-enable the shell.