9

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,

5
  • 1
    A little bit strange, but today I am now able to get the action buttons!
    – user2678
    Oct 7, 2015 at 17:38
  • 1
    ... but at the bottom of the dialog.
    – user2678
    Oct 7, 2015 at 17:40
  • 1
    Calling Gtk.FileChooserButton() from "/usr/lib/python2.7/dist-packages/ubuntutweak/tweaks/theme.py" sounds good into "ubuntu-tweak", by returning the expected dialog with widget (button) actions at the top of the window! :-) Unfortunately, to use it into the above python sample script: e.g, button3 = Gtk.FileChooserButton() button3.connect('file-set', self.on_file_clicked) box.add(button3) will still failed. :-( Related to parent window?
    – user2678
    Oct 8, 2015 at 6:34
  • I'm voting to close this question as off-topic because it appears to be abandoned.
    – RolandiXor
    Oct 21, 2016 at 20:51
  • " it appears to be abandoned" ? you need more patience !
    – dotbit
    Feb 22, 2019 at 9:09

0

Browse other questions tagged or ask your own question.