Closed S-K-Tiger closed 1 year ago
This is a mono issue, as the cast works in windows, as per the comment. All we probably can do is to check if the event actually is HandledMouseEventArgs, to screen out the error. But that means its not cancelling the event.
Instead of assuming that the passed MouseEventArgs
is in fact a HandledMouseEventArgs
:
((HandledMouseEventArgs)e).Handled = true; // we are actually passed this class, cast to it and set we handled it.
perhaps it should check if it's actually the specified type:
if (e is HandledMouseEventArgs ha)
ha.Handled = true;
I've done that in my local copy, thanks. I think I put the code in to prevent double scrolling of the panel due to wheel action, so no idea what it will do.
Be in next major version, out soon
Description
Attempting to move entries of my CMDR linked to my old name to the new name.
Additional Information
OS: Linux Mint 21.2 Cinnamon
Exception Details: