Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 3806 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
When a ListView has VirtualMode set to true, the events produced by selecting one or more items are different in Mono than Microsoft's .NET.
When selecting a single item, Mono produces a VirtualItemsSelectionRangeChanged event with SelectedIndices.Count set to 1. MS .NET produces one with the Count set to 0.
When selecting 3 items, MS.NET produces a VirtualItemsSelectRangeChanged event with a 0 count, a SelectedIndexChanged with a 0 count and then a VirtualItemsSelectionRangeChanged event with a count of 3.
Mono doesn't produce the first Virtual event, does produce the SelectedIndexChanged event for a 0 count and then produces SelectedIndexChanged events for each successive count up to 3 and then the VirtualItemsSelectionRangeChanged event for the count of 3.
I've attached a zip file with a test project to demonstrate the issue as well as two text files to show what it does on Mono and Visual Studio.
Created attachment 1480 [details]
Created attachment 1481 [details]
Created attachment 1482 [details]
MS .NET output