GNOME Bugzilla – Bug 691974
ComboBox only scrolls the first time
Last modified: 2017-09-01 15:45:44 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.
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).
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)
*** Bug 707640 has been marked as a duplicate of this bug. ***
*** Bug 700161 has been marked as a duplicate of this bug. ***
Created attachment 254945 [details] Python script to showing problem
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).