GNOME Bugzilla – Bug 735353
GtkTreeView::row-activated not emitted sometimes
Last modified: 2014-08-27 15:15:11 UTC
Created attachment 284376 [details] example This example shows row-activated not being emitted on GTK+ trunk. To reproduce: * Click a selected row lots of times with a speed that should activate it each time. * Or quickly double click one row after another. It sometimes works, most times doesn't. The numbers in each row will increment on activate..
Created attachment 284600 [details] [review] treeview: Reset multipress controller after 2nd click The pre-gestures code used to compare the current button press with the previous one on !activate_on_single_click, and unset the previous event data so ::row-activated would be emitted every 2 clicks. So do the same with the multipress gesture and reset it after every 2nd click to have ::row-activated emitted multiple times while manic clicking.
Can confirm manic clicking working as before. Thanks!
Review of attachment 284600 [details] [review]: ok. Thanks for the explanatory commit message
Attachment 284600 [details] pushed as e6199af - treeview: Reset multipress controller after 2nd click