SelectionRegionChanged on RMB

Started by fdcnred, May 27, 2014, 05:32:11 PM

Previous topic - Next topic

fdcnred

In version 1.1.4.2 it doesn't seem like SelectionRegionChanged is being called on right mouse button nor is the imageBox.SelectionRegion changing.  I cannot seem to make a selection rectangle with my right mouse button.  Did something change or am I just missing something.  It used to work.

Thanks,
Darren

Richard Moss

#1
Hello,

According to the SVN logs, I changed it from "any" mouse button to "Left" only (as I think is more desirable really) just over a year ago in April 2013 when I made some changes to improve selection handling. I don't recall offhand what version that was, although evidently it's not a recent change :)

Unfortunately this time around I can't offer you an easy workaround - you'd need to explicitly compile your own version of the source and tinker the condition in the ProcessSelection method to remove the constraint I added.

Sorry about that. Potentially I could add a new property to control if Left or All is used in a future update. I just checked ye old MSPaint and also Paint.net and they both allow you to do right click selection, so evidently my decision was a flawed one!

Thanks for pointing this out. If you do add a property of your own to control this rather than just removing the condition, please feel free to submit a pull request on GitHub!

Regards;
Richard Moss
Read "Before You Post" before posting (https://forums.cyotek.com/cyotek-webcopy/before-you-post/). Do not send me private messages. Do not expect instant replies.

All responses are hand crafted. No AI involved. Possibly no I either.