Last GtkCellRenderer in GtkTreeView expanding when it shouldn't
Submitted by Andre Miranda
Assigned to gtk..@..tk.org
Link to original bug (#785278)
Description
Created attachment 356182 sample
While porting Thunar to gtk3 I encounted an issue regarding its side pane. Basically it's a Tree View with about 6 Cell Renderers, some are hidden to create headers: https://docs.xfce.org/_media/xfce/thunar/1.6/thunar_side-pane-right-click-menu.png
The some code works almost perfectly with gtk3, except the last cell renderer (either an eject button or an spinner) now takes more space than it should. I was able to discover that the problem is related to the header items, removing them the glitch goes away. See the attached sample, it compiles with gtk2 and 3, the problem only occurs with gtk3. Is it a regression? If not, what is the workaround?
Attachment 356182, "sample":
sample.c
Version: 3.22.x