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 466715 - "Active item" on the ComboBox does not work
"Active item" on the ComboBox does not work
Status: RESOLVED WONTFIX
Product: libglade
Classification: Deprecated
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: James Henstridge
James Henstridge
: 417905 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-08-14 18:40 UTC by Rui Lopes
Modified: 2018-03-29 21:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
test python script (170 bytes, text/plain)
2007-08-14 18:41 UTC, Rui Lopes
Details
test glade file (3.99 KB, text/plain)
2007-08-14 18:42 UTC, Rui Lopes
Details
XML file that gives an error when parsed. (674 bytes, text/plain)
2009-02-07 06:48 UTC, Marc Andrysco
Details

Description Rui Lopes 2007-08-14 18:40:05 UTC
Please describe the problem:
When I use select an "Active item" for a combobox widget, libglade does not do anything with it, and produces the following warnings:

test_combobox_active_item.py:5: GtkWarning: gtk_tree_row_reference_new: assertion `GTK_IS_TREE_MODEL (model)' failed
  glade = gtk.glade.XML('test_combobox_active_item.glade', 'dialog')
test_combobox_active_item.py:5: GtkWarning: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view->priv->model)' failed
  glade = gtk.glade.XML('test_combobox_active_item.glade', 'dialog')


Steps to reproduce:
run the attached python script to see this happening.

I expected the first comboboc item ("one") to be selected, and no error/warning would be produced.

Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Rui Lopes 2007-08-14 18:41:01 UTC
Created attachment 93670 [details]
test python script
Comment 2 Rui Lopes 2007-08-14 18:42:20 UTC
Created attachment 93671 [details]
test glade file

this glade file has "Active item" set to 0 (to display the first item, which is "one").
Comment 3 Björn Lindqvist 2008-06-25 12:47:30 UTC
*** Bug 417905 has been marked as a duplicate of this bug. ***
Comment 4 Karl Ostmo 2009-01-10 02:55:10 UTC
It looks like Bug 549478 and Bug 560298 are duplicates of this bug.  Also, I am experiencing this bug with Glade 3.4.5 in Ubuntu 8.10.
Comment 5 Marc Andrysco 2009-02-07 06:48:03 UTC
Created attachment 128137 [details]
XML file that gives an error when parsed.
Comment 6 Marc Andrysco 2009-02-07 06:48:31 UTC
I have just run across this bug as well.  It appears to be a bug in GTK+ rather than glade.  I've tested it out a bit using straight up XML files and the problem occurs there as well.  I attached a file containing just the XML that causes the error.
Comment 7 Fabio Durán Verdugo 2011-07-19 23:07:20 UTC
The GNOME Release team has officially deprecated libglade in favor of GtkBuilder[1]. So it's unlikely to get further development. I am closing bugs as WONTFIX. Please feel free to reopen the bugs in future if anyone takes the responsibility for active development.

[1] http://permalink.gmane.org/gmane.comp.gnome.devel.announce/28