ListView: Adding a right-click gesture leaves rows active
When addign a GtkGestureClick
for button 3 to a GtkListView
or GtkColumnView
to show a contextual menu, the following happens (with or without single-click-activate):
- right-click a row
- the row widget gains the active state
- your menu appears
- the row remains active
I encountered this in the file tree in Builder's sidebar (it uses a GtkListView
), and in my ongoing port of Baboab from GtkTreeView
to GtkColumnView
.