GNOME Bugzilla – Bug 712639
GtkEntryCompletion on a GtkComboBoxText does not work when created by GtkBuilder
Last modified: 2013-11-20 17:54:05 UTC
Created attachment 260170 [details] interface file with GtkComboBoxText backed by a GtkListStore and a GtkEntryCompletion based on the GtkListStore When a GtkEntryCompletion is defined in an interface file and attached to a GtkComboBox, the completion menu does not pop up when entering text into the GtkComboBox. Instead a very short pop up appears that contains no text. If the code using the interface calls set_text_column on the GtkEntryCompletion using the same value that was defined for the text-column property in the interface file, the combo box works fine. Attaching two python files that demonstrate the problem with the attached interface file: the first file only loads the interface file and shows the window, which does not work. The second file loads the interface, sets the text column to the value of get_text_column(), and shows the window, which does work.
Created attachment 260171 [details] combobox_test1.py Non-working case
Created attachment 260172 [details] combobox_test2.py Workaround
Which version of gtk+ are you testing this on? We've fixed a very similar bug (#710533) a while ago. Are you still experiencing this in gtk+ 3.11.2?
Just tried with git master. The popup with completion choices appears, but what I'm typing no longer does. *** This bug has been marked as a duplicate of bug 710533 ***