Wrong call in EventsBehavior.cs ?
See original GitHub issueI stumbled upon a pretty subtle but from my point of view just wrong behaviour. Inside of EventsBehavior.cs
is a check if a mouse movement occurred. After that in line 56 there is a invokation of OnMouseClick
where I would rather expect OnMouseUp
because it is the event handler of the MouseUp
event. This “wrong” event call leads to some weird behaviour in our application. I was also able to verify that this is the problem by unregistering the EventsBehavior from the diagram.
Is this just wrong or is there more to this call?
Issue Analytics
- State:
- Created a year ago
- Comments:13
Top Results From Across the Web
Virtual events in C#: something went wrong
The problem, apparently, is that if you use a virtual event, the basic and child classes will have individual (not virtual) delegate-fields that ......
Read more >Is there any case in which the Form's Activated event is not ...
Here is my answer, I noticed that only Form has Activated event, other controls don't have and once the TopLevel of Form is...
Read more >Fast input appear in wrong columns
Hello, we got customer complaints, because the data input with our implementation of a GridControl would be to slow.
Read more >Regularly monitors network security devices and systems ...
Regularly monitors network security devices and systems to identify false positives and perform tuning to collect the right cyber security-related events.
Read more >Concurrent algorithmic debugging
A diagnosis algorithm for incorrect FCP programs is proposed. ... the functions it calls are correct, then the code of the considered function...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed, now that you’ve explained the issue, I see it clearly. MouseUp shouldn’t fire a MouseClick unless MouseDown happened as well, otherwise something like you described (clicking outside, moving then releasing) would trigger a click when it shouldn’t!
I will take a look at you rexample.
It will be fixed in the new major version. Would you like a quick fix for it with the current version? I can write you a modified EventsBehavior.