mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-29 00:53:09 +00:00
Add some extra steps for KDE to overcome BZ2097208.
This commit is contained in:
parent
b702f8ebcd
commit
7637238951
@ -1196,10 +1196,18 @@ sub menu_launch_type {
|
|||||||
# launcher, typing the specified string and hitting enter. Pass
|
# launcher, typing the specified string and hitting enter. Pass
|
||||||
# the string to be typed to launch whatever it is you want.
|
# the string to be typed to launch whatever it is you want.
|
||||||
my $app = shift;
|
my $app = shift;
|
||||||
|
# To overcome BZ2097208, let's move the mouse out of the way
|
||||||
|
# and give the launcher some time to take the correct focus.
|
||||||
|
if (get_var("DESKTOP") eq "kde") {
|
||||||
|
diag("Moving the mouse away from the launcher.");
|
||||||
|
mouse_set(1, 1);
|
||||||
|
}
|
||||||
send_key 'super';
|
send_key 'super';
|
||||||
# srsly KDE y u so slo
|
# srsly KDE y u so slo
|
||||||
wait_still_screen 3;
|
wait_still_screen 3;
|
||||||
type_very_safely $app;
|
type_very_safely $app;
|
||||||
|
# Wait for KDE to place focus correctly.
|
||||||
|
sleep 2;
|
||||||
send_key 'ret';
|
send_key 'ret';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user