Shell.App launch inconsistencies (open 2 windows)
Hello, using the Shell.App methods with Epiphany yields different results compared to other Gnome apps.
When Epiphany isn't running yet, launch_action
and open_new_window
both open 2 Epiphany windows.
To reproduce, close all Epiphany windows and run one of the 2 commands in the looking glass:
Shell.AppSystem.get_default().lookup_app('org.gnome.Epiphany.desktop').launch_action('new-window', 0, -1)
Shell.AppSystem.get_default().lookup_app('org.gnome.Epiphany.desktop').open_new_window(-1)
We can compare to another app, say Gedit, which correctly launches a single window:
Shell.AppSystem.get_default().lookup_app('org.gnome.gedit.desktop').open_new_window(-1)
Note that launch
and activate
both work correctly and are only launching one window when Epiphany isn't running yet:
Shell.AppSystem.get_default().lookup_app('org.gnome.Epiphany.desktop').launch(0, -1, false)
Shell.AppSystem.get_default().lookup_app('org.gnome.Epiphany.desktop').activate()
It would be nice if the first 2 methods would work the same as for other applications. Thanks!