[gnome-shell/wip/timed-login-fix: 283/284] loginDialog: hide authprompt when VT switching away



commit a1f117e5202976bf5f83cb3529997b43ede4b7e8
Author: Ray Strode <rstrode redhat com>
Date:   Thu Feb 7 11:18:53 2019 -0500

    loginDialog: hide authprompt when VT switching away
    
    The authprompt is no longer useful if the user isn't
    on the VT, and it's not what the user is going to
    ultimately see when they come back (they'll see the
    user list), so we should hide it.
    
    Fixes a bug where it briefly blinks in view on
    VT switch.

 js/gdm/loginDialog.js | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 431832b66..02f5b4565 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -940,6 +940,9 @@ var LoginDialog = GObject.registerClass({
             this._greeter.run_dispose();
             this._greeter = null;
         }
+
+       this._authPrompt.hide();
+       this.actor.opacity = 0;
     }
 
     _gotGreeterSessionProxy(proxy) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]