Thank you for your great work.
I have some problems since elementary OS 0.3.1 makes pantheon-filechooser-module
as the default one. I suppose there is maybe a GObject/Gtk/pixman issue because I can reproduce it with this python script.
$ python3 the_script.py
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
Then, either click on "Choose File" or "Choose Folder":
(the_script.py:4167): Gtk-CRITICAL **: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed
and more annoying it breaks Gramps 4.2.0 where
Gtk3 FileChooserDialog is called on many modules. (git
, grep
, etc.)
The "visual" issue is that without widget action buttons (OK, Cancel) into the File Chooser Dialog or any header bar, we cannot close the dialog and we need to kill the application. Really annoying into Gramps, where I cannot import file, select a backup folder, set preferred folder, import any media object, etc ...
I should be able to test and patch gramps but I have no idea how to properly migrate or fix current python3 modules calling Gtk3 FileChooserDialog under recent pantheon shell (elementary OS 0.3.1).
Any clue or tips will be welcome.
regards,
button3 = Gtk.FileChooserButton() button3.connect('file-set', self.on_file_clicked) box.add(button3)
will still failed. :-( Related to parent window?