From ff256eb741db70f3835df0e613da3f3f138bbe2c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 30 Jul 2025 15:05:00 -0700 Subject: [PATCH] Work around another lock screen issue in desktop_login We don't crash on the lock screen in Rawhide GNOME now, but my fix isn't perfect - the pointer is somehow broken on the lock screen, so we can't click anything. tab doesn't work either, so we just can't switch user from the lock screen till this is fixed better. So for GNOME on Rawhide, we'll skip switching from the lock screen and just do another 'normal' switch. Signed-off-by: Adam Williamson --- tests/desktop_login.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/desktop_login.pm b/tests/desktop_login.pm index d604f0d7..b403a111 100644 --- a/tests/desktop_login.pm +++ b/tests/desktop_login.pm @@ -339,8 +339,13 @@ sub run { # We will also test another alternative - switching the user from # a locked screen. - lock_screen(); - send_key "ret"; + # FIXME As of 2025-07 on Rawhide we cannot because of + # https://gitlab.gnome.org/GNOME/mutter/-/issues/4206 , so let's just + # do it 'normally' again + unless ($desktop eq "gnome" && $relnum > 42) { + lock_screen(); + send_key "ret"; + } switch_user(); login_user(user => "jack", password => $jackpass); # we should be back in the previous 'jack' session so the terminal