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 26887 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
ToolStrip.OnMouseUp() is calling OnItemClicked even for right (and center) mouse buttons. It should only be invoked for the left mouse button. At least, that's how the .Net libraries on Windows behave.
I'm attaching the project for a small program that allows you to easily demonstrate this behavior.
I will submit a pull request with my suggested fix soon.
Created attachment 9729 [details]
See https://github.com/mono/mono/pull/1557 for my proposed fix (which has already been merged).
My original fix is necessary but not sufficient. There's another path through the code that generates OnItemClicked for right (and center) mouse buttons. See
https://github.com/mono/mono/pull/1599 for my proposed fix that part of the code.