GNOME Bugzilla – Bug 795781
doesn't pass "open" signal to Gtk3::Application
Last modified: 2018-09-15 20:00:29 UTC
Created attachment 371644 [details] gtk_application_ex.pl The "open" signal is emitted, either by the "open with" menu option in a file manager, or by supplying file names on the command line, or via gdbus. Attached is a minimal perl script, running it with a filename as an argument, e.g.: perl gtk_application_ex.pl file.name should open a window and then report the signals emitted in the terminal window: starting with file.name Hello world! running activate files: file.name Goodbye world! Unforunately, the open signal is never emitted, and so the files: line is not printed. A python version of the same script is also attached. This works as expected.
Created attachment 371645 [details] gtk_application_ex.py
Is this still an issue if you use $app->run([$0, @ARGV]); as suggested in <https://mail.gnome.org/archives/gtk-perl-list/2018-May/msg00002.html>?