gnome-shell/js/gdm
Jonas Dreßler fb7e70d562 authPrompt: Grab key focus when making entry sensitive
We currently let the entry of the autoPrompt grab the key focus inside
setQuestion(), which is called from _onAskQuestion(), which is the
callback of the "ask-question" signal.

It seems that the "ask-question" signal isn't emitted again right after
the password-check failed, but a few seconds after that. Since we get
the "verification-failed" signal earlier than "ask-question" (right
after we know the check failed) and we also get a hint whether the entry
should be usable again with the canRetry argument, we can also grab key
focus to in the same step.

So do that by grabbing key focus when making the entry sensitive.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2655


(cherry picked from commit 8d139bbd95)
2020-04-28 16:45:27 +00:00
..
authPrompt.js authPrompt: Grab key focus when making entry sensitive 2020-04-28 16:45:27 +00:00
batch.js cleanup: Avoid unnecessary braces 2019-11-11 19:25:14 +00:00
fingerprint.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
loginDialog.js js: Add missing chain-ups in vfuncs 2020-03-27 10:39:58 +01:00
oVirt.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
realmd.js
util.js js: Use StPasswordEntry for password entry fields 2019-12-17 23:08:43 +01:00