Workaround GNOME overview search box not active bug

See https://pagure.io/background-logo-extension/issue/26 - in
current Rawhide, the search box in the overview is not active
when the overview is opened, so you can't just open the
overview and type, you have to click it first.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-07-08 17:07:48 -07:00
parent 4fee822475
commit 2f93645a55
3 changed files with 20 additions and 0 deletions

View File

@ -390,6 +390,11 @@ sub menu_launch_type {
send_key 'alt-f1'; send_key 'alt-f1';
# srsly KDE y u so slo # srsly KDE y u so slo
wait_still_screen 3; wait_still_screen 3;
my $relnum = get_release_number;
if (get_var("DESKTOP") eq "gnome" && $relnum > 32) {
# FIXME: workaround https://pagure.io/background-logo-extension/issue/26
assert_and_click "overview_search_box";
}
type_very_safely $app; type_very_safely $app;
send_key 'ret'; send_key 'ret';
} }

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 357,
"ypos": 59,
"width": 16,
"height": 19,
"type": "match"
}
],
"properties": [],
"tags": [
"overview_search_box"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 KiB