After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 584000 - Doesn't switch to selected page in GtkAssistant
Doesn't switch to selected page in GtkAssistant
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks: 641141
 
 
Reported: 2009-05-27 13:31 UTC by Bastien Nocera
Modified: 2016-04-06 23:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2009-05-27 13:31:44 UTC
Using the current git master, open the wizard/wizard.ui file from gnome-bluetooth, and see that you can't edit the pages past the first one.
Comment 1 Tristan Van Berkom 2009-05-27 14:52:24 UTC
Good point, noting here that we should fix this
a little like notebook, when a widget is selected
in the inspector, then any parenting notebook makes
sure its on the current page.

Comment 2 Bastien Nocera 2009-06-15 16:41:58 UTC
You can actually switch pages by using the back/forward buttons. But selecting a particular page doesn't switch to it.

Hints on what to look at here?
Comment 3 Tristan Van Berkom 2009-06-15 16:57:22 UTC
Look at plugins/gtk+/glade-gtk.c:glade_gtk_notebook_post_create();
it watches project changes (in case of copy/paste) and watches
selection changes in the project - if you select a widget that
is child to the notebook, it will show the appropriate page.

Adding similar code (or possibly sharing that code 
by casing the widget type GTK_IS_NOTEBOOK()/GTK_IS_ASSISTANT())
... to glade_gtk_assistant_post_create() will fix it.

Comment 4 Geert Janssens 2011-05-21 12:32:10 UTC
Any update on this ? This bug makes glade fairly confusing to handle GtkAssistants.
Comment 5 Roberto Guido 2016-04-06 22:02:35 UTC
Tested on current master branch with the mentioned wizard.ui file, unable to reproduce.
Seems to have been fixed in commit 787439b816f4cf79cfe45d81443338dc4a177644
Comment 6 Juan Pablo Ugarte 2016-04-06 23:01:21 UTC
Thanks for testing!