From f48dc5a0d53127dc9655e6e3085d4521e00e8ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Fri, 5 Apr 2024 14:09:28 +0200 Subject: [PATCH] Add wait_still_screen to menu_launch_type. This is actually a very useful to wait a little bit before we try to operate with the started application, especially if we want to send keys. Having this wait time here can save us doing this every time, we start an application. --- lib/utils.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils.pm b/lib/utils.pm index 9ae31f11..2806290b 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1363,6 +1363,7 @@ sub menu_launch_type { # Wait for KDE to place focus correctly. wait_still_screen 2; send_key 'ret'; + wait_still_screen 3; } sub tell_source {