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 680593 - Combobox menu popup displaced
Combobox menu popup displaced
Status: RESOLVED DUPLICATE of bug 622938
Product: gtk+
Classification: Platform
Component: Widget: GtkComboBox
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 689494 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-07-25 14:49 UTC by Matthias F.
Modified: 2017-03-03 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
comboboxes are drawn incorrectly (138.38 KB, image/jpeg)
2012-07-25 14:49 UTC, Matthias F.
Details

Description Matthias F. 2012-07-25 14:49:53 UTC
Created attachment 219632 [details]
comboboxes are drawn incorrectly

When a combobox menu pops up most of the time it's half empty and I have to scroll to get the invisible menu items onto my screen.

(see attached screenshot)

I think this is because the active menu item is being selected and centered above the combobox itself.
Sometimes this is not possible depending on the screen location of the combobox and the amount of menu items.

A better solution would be to just display the menu list above or below the combobox as shown here: http://www.brad-smith.info/blog/wp-content/uploads/2010/06/GroupedComboBox.jpg
(right combobox)

The combobox itself shows the selected menu item and additionally it's shown in the menu list.
Comment 1 Daniel Boles 2017-03-03 14:47:59 UTC
That would be a lot simpler than the acrobatics we currently do to center the active item (some of which are invalidated by horrifying things like FileChooserButton refiltering the model during popup...), and more consistent with certain other big-name GUIs.
Comment 2 Daniel Boles 2017-03-03 14:53:19 UTC
*** Bug 689494 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Boles 2017-03-03 14:55:12 UTC

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