Iconview / treeview gives incorrect results with get_selected_items when filtered / searched
Submitted by Jeff F.T.
Assigned to Jeff F.T.
In medialibrary, the transitions tab and any place where we have a search feature, when the view is filtered, gtk's get_selected_items method will fail and give you the wrong items.
To reproduce, have an iconview with the following items (ex: as clips in the media library):
A B C
D E F
G H I
Then, search for "F". The resulting filtered view will be:
If you do get_selected_items after clicking it, you will get "A" instead of "F".
This breaks drag and drop from the media library and breaks the selection of transition type in the transitions iconview.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=675573