GtkComboBox with has-entry=true ignores CellRenderer's sensitive property
Submitted by Daniel McIntosh
Link to original bug (#788357)
Description
Since GtkComboBox creates a CellRenderer (priv->text_renderer) during construction when has-entry=true [1], and cell sensitivity is determined by whether ANY cell renderer has "sensitive" set to true [2], cells are effectively always sensitive.
If GtkBuilder is being used, this is particularly egregious since the only realistic work-around is to use gtk_cell_layout_get_cells(), "magically" know that as it's first element, the list contains one extra CellRenderer that's not in the layout file, and modify said CellRenderer's properties.
Not sure how to fix this in such a way that maintains ease of use in simple cases, but at the very least this default CellRenderer should be documented so that this type of behaviour isn't without explaination.
[1] https://git.gnome.org/browse/gtk+/tree/gtk/gtkcombobox.c#n2792
[2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkcombobox.c#n1322
Version: 3.91.x