Created attachment 376720 [details] screenshot of the problem I just updated from Gnome 3.10 to Gnome 3.12 and all went fine, everything works except one thing from GEdit: the preference dialog doesn't show anything. This is what i get if i run GEdit from terminal and click in "Preferences": (gedit:32020): Gtk-CRITICAL **: Error building template class 'GeditPreferencesDialog' for an instance of type 'GeditPreferencesDialog': Invalid object type `PeasGtkPluginManager' (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): Gtk-CRITICAL **: gtk_toggle_button_set_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed (gedit:32020): Gtk-CRITICAL **: gtk_toggle_button_set_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed (gedit:32020): Gtk-CRITICAL **: gtk_toggle_button_set_active: assertion 'GTK_IS_TOGGLE_BUTTON (toggle_button)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed sys:1: Warning: invalid (NULL) pointer instance sys:1: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_get_accessible: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_get_accessible: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_get_accessible: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_get_accessible: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_button_set_label: assertion 'GTK_IS_BUTTON (button)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (gedit:32020): Gtk-CRITICAL **: gtk_cell_layout_set_cell_data_func: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed (gedit:32020): Gtk-CRITICAL **: gtk_tree_view_get_selection: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed (gedit:32020): Gtk-CRITICAL **: gtk_tree_selection_set_mode: assertion 'GTK_IS_TREE_SELECTION (selection)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_clear: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_tree_view_get_selection: assertion 'GTK_IS_TREE_VIEW (tree_view)' failed (gedit:32020): Gtk-CRITICAL **: gtk_tree_selection_select_iter: assertion 'GTK_IS_TREE_SELECTION (selection)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_append: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion 'GTK_IS_LIST_STORE (list_store)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_style_context_set_junction_sides: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_style_context_set_junction_sides: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:32020): Gtk-CRITICAL **: gtk_widget_show_all: assertion 'GTK_IS_WIDGET (widget)' failed
Try running it from a terminal to see if some errors are shown while reproducing the problem
What version of libpeas do you have installed ?
@gilles: [ebuild R #] dev-libs/libpeas-1.10.0 USE="gtk python -glade -seed {-test}" PYTHON_TARGETS="python2_7 python3_3 (-python2_6) -python3_2" 0 kB @pachos: i posted the terminal output in my first comment :) i didn't get any errors before i clicked on the "Preference" menu.
I cannot reproduce this with: [ebuild R #] app-editors/gedit-3.12.1 USE="introspection python spell {test} -zeitgeist" PYTHON_TARGETS="python3_3 -python3_2" 0 kB [ebuild R #] dev-libs/libpeas-1.10.0 USE="gtk python {test*} -glade -seed" PYTHON_TARGETS="python2_7 python3_3 (-python2_6) -python3_2" 0 kB
This is mine: [ebuild R #] dev-libs/libpeas-1.10.0 USE="gtk python -glade -seed {-test}" PYTHON_TARGETS="python2_7 python3_3 (-python2_6) -python3_2" 0 kB [ebuild R #] app-editors/gedit-3.12.1 USE="introspection python spell {-test} -zeitgeist" PYTHON_TARGETS="python3_3 -python3_2" 0 kB i cannot undestand why i got this error :-/ i tried to rebuild: gtk, glib, libpeas and gedit but nothing changed...
i tried to compile gedit from sources downloaded from ftp.gnome.org and all works perfectly :O
I manually compiled and installed Gedit with the same 'enable-disable' features that are inside the Gentoo ebuild and it works perfectly. This is very strange xD
(In reply to Paolo Stivanin from comment #7) > I manually compiled and installed Gedit with the same 'enable-disable' > features that are inside the Gentoo ebuild and it works perfectly. > This is very strange xD indeed, I can not reproduce it here as well. maybe try to add an autoreconf call to the ebuild, and see if it helps
using `autoreconf` instead of `gnome2_src_prepare` solved my problem :)
gnome2_src_prepare is running this commands, maybe you could try when you start to get the problems: gnome2_environment_reset gnome2_omf_fix gnome2_disable_deprecation_warning elibtoolize
nothing! it works if use only autoreconf!
Does: eautoreconf gnome2_src_prepare work for you then?
(In reply to Pacho Ramos from comment #12) > Does: > eautoreconf > gnome2_src_prepare > > work for you then? Also try with a fully updated system
the system is updated daily :) however it doesn't work. I don't understand why...
The most ugly thing is that I cannot reproduce at all. Did you try comment #12 suggestion?
yes, i tried and it didn't work! I saw that i am not the only one with this bug (https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1325063) so it is an upstream bug not a gentoo related one!
Then, maybe an upstream bug report to bugzilla.gnome.org could help :/
Can you reproduce this problem after rebuilding gedit *without* eautoreconf? Just using the normal ebuild from the portage tree? My suspicion is this is some sort of libpeas ABI weirdness (e.g. if libpeas-1.9.0 was built against gtk+-3.10, it's incompatible with libpeas-1.10.0 built against gtk+-3.12) which doesn't show up if simply recompiling gedit in gnome-3.12.
@alexandre: but i haven't libpeas 1.9.0 installed in my system. The weird thing is that if I compile gedit from the vanilla sources (taken from the gnome ftp) it is all ok (i tried with gedit 3.12.0,1,2).
Paolo, again, can you reproduce this problem after rebuilding gedit using the normal ebuild from the portage tree, without adding eautoreconf?
yes, the problem is still here :(