gnome-shell/js/gdm
Florian Müllner c3a31e6e6b
authPrompt: Consume cancel key event
The auth prompt currently propagates all key presses, even the
Escape press that is used to cancel it.

On the lock screen that means that the same event that cancels
the prompt (and switches back to the clock) is *also* propagated
to the handler that activates the prompt on key press.

That handler doesn't do anything when the prompt is already visible,
which is the case when the transition to the clock is animated.

However when animations are disabled, canceling the prompt will
result in a new prompt getting created immediately, and the login
screen is stuck on the prompt.

Fix this by not propagating key events that are used to cancel
the prompt.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3317>
(cherry picked from commit e7dc0de75e)
2024-05-22 16:32:41 +02:00
..
authList.js js: Rely on default scroll policy where appropriate 2023-11-18 18:00:43 +00:00
authPrompt.js authPrompt: Consume cancel key event 2024-05-22 16:32:41 +02:00
batch.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
credentialManager.js js: Port to modules 2023-08-06 13:02:49 +02:00
loginDialog.js loginDialog: Improve conflicting session notification message 2024-03-16 16:33:50 +00:00
oVirt.js js: Port to modules 2023-08-06 13:02:49 +02:00
realmd.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
util.js gdm/util: Make sure error is GError before checking it 2024-05-22 16:31:26 +02:00
vmware.js js: Port to modules 2023-08-06 13:02:49 +02:00