GNOME Bugzilla – Bug 702957
wrong selection counting in multiple selection treeview
Last modified: 2014-08-30 05:47:40 UTC
in "CURSOR_CHANGED" handler function, when GTK_SELECTION_MULTIPLE property is activated, gtk_tree_selection_count_selected_rows function does not return the right value when selection is made using "ctrl" and/or "alt" modifier this behaviour happens using any other function to count selected rows instead, when selected rows counting is made in other context, result is correct this happens also with linux (same gtk version)
Created attachment 247707 [details] a test program for multiple selection in the picture there is a test program where i selected 3 rows using ctrl+left click. in edit box appares the "gtk_tree_selection_count_selected_rows" function result called from "cursor-changed" handler
Can't reproduce this problem