gcr prompt with new password broken when passwords mismatch
A gcr prompt (created with gcr_system_prompt_open
and new password set with gcr_prompt_set_password_new
) is broken if the password in the entries (ie, main password and password confirm entries) mismatch. If the user continues, a spinner is shown indefinitely.
Reading https://gitlab.gnome.org/GNOME/gnome-shell/blob/master/src/shell-keyring-prompt.c#L732 the code simply returns instead of using g_task
API. I haven't looked the code deep so I might be wrong. Ideally it would be nice if the "Continue" button should be sensitive only if both passwords matches.