-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When drag is started, BlDragEvents replace BlMouseMoves #649
Comments
I didn't know this was the case. On one hand I think it is important to make the difference between moves and drag but on the other I totally agree that something listening to mouse moves should still be able to know the mouse is moving but then how could we make the difference. I'm curious to know the discussion on this as it was first implemented |
I confirm this behavior on Windows. |
Without addEventHandlerOn: BlDragStartEvent do: [ :evt | evt consume ]; I receive continuous mouse move and mose drag start too. That's strange and we should receive only one start drag event, and after during the move a lot drag event + all mouse move events, I think. |
Only when an event handler marks a As I understand it, using "consumed" flag for this purpose can be misleading for the humans that read the code :) Even more, maybe |
Hi @tinchodias, thanks for your analyse. |
Snippet:
This is intentionally implemented in
BlMouseProcessor>>#handleMouseMove:
. But shouldn'tBlMouseMove
continue being delivered, at the same time as theBlDragEvent
?(@labordep @ELePors @tesonep)
@Enzo-Demeulenaere what do you think?
The text was updated successfully, but these errors were encountered: