Restart Fonts on Silverblue (bug)

This commit is contained in:
Lukas Ruzicka 2024-02-22 15:31:14 +01:00
parent 4a6d52e91e
commit 5ae9926225
1 changed files with 8 additions and 1 deletions

View File

@ -13,7 +13,14 @@ sub run {
# Start the application
menu_launch_type("fonts");
# Check that is started
# BUG https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/issues/78
# Flatpakked Fonts (version 45.0) starts and crashes for the first time,
# therefore on Silverblue, let's check first and
# if it crashes, try to run the application again before dying.
# Check that the application is running on Silverblue
if (get_var("SUBVARIANT" eq "Silverblue") && ! (check_screen('apps_run_fonts', timeout => 30))) {
menu_launch_type("fonts");
}
assert_screen 'apps_run_fonts';
# Fullsize the window.