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 712639 - GtkEntryCompletion on a GtkComboBoxText does not work when created by GtkBuilder
GtkEntryCompletion on a GtkComboBoxText does not work when created by GtkBuilder
Status: RESOLVED DUPLICATE of bug 710533
Product: gtk+
Classification: Platform
Component: Widget: GtkComboBox
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-11-18 22:53 UTC by David Shea
Modified: 2013-11-20 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
interface file with GtkComboBoxText backed by a GtkListStore and a GtkEntryCompletion based on the GtkListStore (1.83 KB, application/x-glade)
2013-11-18 22:53 UTC, David Shea
Details
combobox_test1.py (229 bytes, text/x-python)
2013-11-18 22:54 UTC, David Shea
Details
combobox_test2.py (339 bytes, text/x-python)
2013-11-18 22:54 UTC, David Shea
Details

Description David Shea 2013-11-18 22:53:26 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.
Comment 1 David Shea 2013-11-18 22:54:08 UTC
Created attachment 260171 [details]
combobox_test1.py

Non-working case
Comment 2 David Shea 2013-11-18 22:54:31 UTC
Created attachment 260172 [details]
combobox_test2.py

Workaround
Comment 3 Lars Karlitski 2013-11-20 12:56:50 UTC
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?
Comment 4 David Shea 2013-11-20 17:54:05 UTC
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 ***