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 707640 - Gtk.ComboBox with entry has no scrolling on 2nd click and after
Gtk.ComboBox with entry has no scrolling on 2nd click and after
Status: RESOLVED DUPLICATE of bug 691974
Product: gtk+
Classification: Platform
Component: Widget: GtkComboBox
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-09-06 16:00 UTC by webe3vt
Modified: 2013-09-14 19:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample program demonstrating the problem (4.10 KB, text/x-python)
2013-09-09 15:50 UTC, webe3vt
Details
Simplified Python script showing problem (460 bytes, text/x-python)
2013-09-09 23:25 UTC, Simon Feltman
Details
Gjs script showing the same problem (513 bytes, application/octet-stream)
2013-09-09 23:29 UTC, Simon Feltman
Details

Description webe3vt 2013-09-06 16:00:25 UTC
I have an application that creates a combo box in a dialog and populates the selection list with a liststore.  The first click on the selection arrow opens up the selection list which is too big for the screen so the list has an up scroll on the top of the list and a down scroll on the bottom of the list and scrolling works fine.
Subsequent clicks on the selection arrow do not show the scroll buttons and do not allow scrolling and hence there is no way to get to some of the selection list.  The only way to get around the problem is to cancel the dialog and open it up again and then the combo box selection list will work again on the 1st click.

A related problem also occurs some of the time which I have not been able to find a pattern for.  Occasionally, when I open the dialog with the combobox and then click on the selection arrow, the list will flash up and go away.  If I then click on the selection arrow again the previous problem occurs with no scrolling.

This application was converted from a pygtk application that never had either problem.

Here is how I am creating the combo box:'

        self.connection_name = Gtk.ComboBox.new_with_model_and_entry(conn_name_liststore)
        self.connection_name.set_entry_text_column(0)
        self.connection_name.get_child().connect('changed', connection_name_callback)
        self.connection_name.get_child().set_completion(completion)
        self.connection_name.show()

Line wrap is wrapping the lines above but in the code the statements are each on their own line.
Comment 1 Simon Feltman 2013-09-08 22:43:14 UTC
Hi,

It would be helpful if you could provide a minimal working example which shows the problem (as an attachment). If there is indeed a bug, this ticket most likely belongs in the GTK+ project, but we need to be able to verify this before moving to GTK+.

Thanks
Comment 2 webe3vt 2013-09-09 15:50:26 UTC
Created attachment 254497 [details]
sample program demonstrating the problem
Comment 3 Simon Feltman 2013-09-09 23:25:29 UTC
Created attachment 254535 [details]
Simplified Python script showing problem
Comment 4 Simon Feltman 2013-09-09 23:29:10 UTC
This seems to be a new regression in GTK+ 3.10 (the combo pagers show up all the time for me in 3.8.3). Moving to GTK+.
Comment 5 Simon Feltman 2013-09-09 23:29:45 UTC
Created attachment 254536 [details]
Gjs script showing the same problem
Comment 6 Simon Feltman 2013-09-14 19:15:03 UTC
*** Bug 700161 has been marked as a duplicate of this bug. ***
Comment 7 Simon Feltman 2013-09-14 19:16:37 UTC
As noted in bug 700161#c1, this may be an Adwaita Engine problem and not specific to 3.9.
Comment 8 Simon Feltman 2013-09-14 19:20:30 UTC

*** This bug has been marked as a duplicate of bug 691974 ***