GNOME Bugzilla – Bug 137066
No-active-row combobox displays confusingly
Last modified: 2004-12-22 21:47:04 UTC
If you have a GtkComboBox with: - No bin->child - No active row - A number of items Then it displays confusingly because the same GtkCellRenderer is shared between the main entry and the menu items, so we just get the properties for the last menu item "sticking" and showing up for the main entry. The right solution here is probably to hide the GtkCellView when there is no active row.
Created attachment 25604 [details] [review] a simple patch
A simple patch which makes the cell view bail out of the expose handler after clearing to the background, if there is no active row.