Try and robustify menu_launch_type a bit

The mistypes on KDE are bugging me. Let's see if this - mainly
the wait_screen_change, the other just seems like a logical
tweak - helps at all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-04-04 11:18:25 -07:00
parent bde855b343
commit 5701d1a5a5
1 changed files with 2 additions and 2 deletions

View File

@ -1356,12 +1356,12 @@ sub menu_launch_type {
diag("Moving the mouse away from the launcher.");
mouse_set(1, 1);
}
send_key 'super';
wait_screen_change { send_key 'super'; };
# srsly KDE y u so slo
wait_still_screen 3;
type_very_safely $app;
# Wait for KDE to place focus correctly.
sleep 2;
wait_still_screen 2;
send_key 'ret';
}