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 691974 - ComboBox only scrolls the first time
ComboBox only scrolls the first time
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkComboBox
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
: 700161 707640 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-01-17 20:27 UTC by abu.cudi
Modified: 2017-09-01 15:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A GtkBuilder file displaying the bug (7.87 KB, application/x-designer)
2013-05-19 10:55 UTC, Tristan Van Berkom
Details
Python script to showing problem (460 bytes, text/x-python)
2013-09-14 19:30 UTC, Simon Feltman
Details

Description abu.cudi 2013-01-17 20:27:15 UTC
Hi,

in ToolBar Window, the drop down list of combobox for StockID selection for type ToolButton cannot be scrolled. Only first items are shown and now scroll buttons are visible, although there are more items in the list. Clicking on the combobox again, scrolling is working.

How to reproduce Bug:

- Add a ToolBar or use an existing
- Right click on ToolBar and call menu item "Edit..."
- Add a ToolButton or use an existing
- Click on StockID Combobox 
Bug: Scrolling not possible, although more items are available

- click again on the combobox, list is complete an can be scrolled.

reproducable on:
AMD x64
Fedora 18 or ArchLinux

small annoying bug. 

Great Software thanks for Glade!!!

Sorry for my bad english.
Comment 1 Tristan Van Berkom 2013-05-19 10:36:29 UTC
I've been seeing this, this is actually a GTK+ bug and might be
related to recent GtkWindow sizing regressions in early GTK+ 3.9.

To clarify, the stock combo menu is scrollable only the first time
it's popped up, every subsequent popup of a stock combo fails to scroll.

Presumably this would happen with any combo box, Glade only has one
such type of combo with a list long enough to cause scrolling (which
is the stock selector).
Comment 2 Tristan Van Berkom 2013-05-19 10:55:54 UTC
Created attachment 244702 [details]
A GtkBuilder file displaying the bug

Note this only seems to be reproducible if the GtkComboBox has an entry.

It seems that the act of selecting one of the items in a combo box (which
has an entry) causes the combo to forget about scrolling the next time
the popup menu pops up.

Seems this is not after all related to window sizes but rather to combo box
logic with entries (however, it only 'seems' this way at this point, can't tell
for sure).

This is pretty annoying for Glade since you can only ever select a stock item
once.

To reproduce this... just fire up:
   glade-previewer -f combo-box-bug.ui (the attached file)
Comment 3 Simon Feltman 2013-09-14 19:20:30 UTC
*** Bug 707640 has been marked as a duplicate of this bug. ***
Comment 4 Simon Feltman 2013-09-14 19:23:52 UTC
*** Bug 700161 has been marked as a duplicate of this bug. ***
Comment 5 Simon Feltman 2013-09-14 19:30:45 UTC
Created attachment 254945 [details]
Python script to showing problem
Comment 6 Daniel Boles 2017-09-01 15:45:44 UTC
This seems to be obsolete; for me, both Attachment 244702 [details] and Attachment 254945 [details] can be scrolled equally well on the 1st and subsequent popups.

The Menu doesn't scroll to/select the right item, as it would for a non-editable ComboBox, but that seems like a separate issue and perhaps known (e.g. I recall a very similar bug about not selecting after the user typed in a matching string).