1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-28 16:43:09 +00:00

desktop_login: don't hit esc on lock screen

Tested that this is not necessary on KDE or GNOME, and on current
KDE it actually seems to break stuff. It's better to just start
typing the password.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-02-07 11:43:16 -08:00
parent 95de85b33a
commit f4b154253c

View File

@ -61,7 +61,7 @@ sub login_user {
my $user = $args{user}; my $user = $args{user};
my $password = $args{password}; my $password = $args{password};
my $method = $args{method}; my $method = $args{method};
if (!check_screen "login_$user") { if ($method ne "unlock" && !check_screen "login_$user") {
# Sometimes, especially in SDDM, we do not get the user list # Sometimes, especially in SDDM, we do not get the user list
# but rather a "screensaver" screen for the DM. If this is the # but rather a "screensaver" screen for the DM. If this is the
# case, hit Escape to bring back the user list. # case, hit Escape to bring back the user list.