Index: lib/alexandria/ui/ui_manager.rb
===================================================================
--- lib/alexandria/ui/ui_manager.rb (revision 1064)
+++ lib/alexandria/ui/ui_manager.rb (revision 1065)
@@ -918,10 +918,13 @@
selection = page == 0 ? @iconview : @listview.selection
selection.selected_each do |the_view, path|
- unless the_view.model
+ # don't use the_view which is passed in by this block
+ # as it doesn't consider the filtering for some reason
+ # see bug #24568
+ unless view.model
next
end
- path = the_view.model.convert_path_to_child_path(path)
+ path = view.model.convert_path_to_child_path(path)
if path
path = @filtered_model.convert_path_to_child_path(path)
# FIX this sometimes returns a nil path for iconview...