Bug#301610: Acknowledgement (libgtk2.0-0: The number of selected
rows is incorrect in "cursor-changed" callback.)
Igor Belyi
Igor Belyi <belyi@users.sourceforge.net>, 301610@bugs.debian.org
Sun, 27 Mar 2005 19:07:38 -0500
Sorry, the patch screws us selection process completely... That what you
get from creating a patch in unfamiliar code. :(
From debugging I know that the callback is called in
gtk_tree_view_real_set_cursor() but with Shift and Control modifier the
real selection happen only in gtk_tree_view_real_select_cursor_row() and
gtk_tree_view_real_toggle_cursor_row() calls correspondently. I was
hopping that interchanging them with tk_tree_view_real_set_cursor() will
do the trick but now although the reporting is correct the selection
itself sucks - you need to click twice to make a selection.
I don't know if I have enough knowledge to do the right patch.
Igor