You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
onExit don't fire if we hover only the first pixel of the component #1176
window.sendMouseEvent(MouseEvent.MOUSE_PRESSED, x = 90, y = 50)
window.sendMouseEvent(MouseEvent.MOUSE_RELEASED, x = 80, y = 50)
awaitIdle()
window.sendMouseEvent(MouseEvent.MOUSE_EXITED, x = 900, y = 500)
awaitIdle()
assertThat(onExits).isEqualTo(1) // fails here
Probably this is because we change pointerId on MOUSE_RELEASED (search pointerId += 1 in DesktopOwners)
changed the title [-]Fix WindowInputEventTest.`catch mouse move` in compose sources[/-][+]onExit don't fire if we hover only the first pixel of the component[/+]on Nov 18, 2021
Activity
Remove pointerId from ComposeScene
igordmn commentedon Nov 18, 2021
The fix was reverted, as it causes another issues.
igordmn commentedon Nov 18, 2021
The reproducer of the issue in a real application:
2021-11-18-38.mp4
Result: the scrollbar is still hovered
[-]Fix WindowInputEventTest.`catch mouse move` in compose sources[/-][+]onExit don't fire if we hover only the first pixel of the component[/+]Fix crash when we press right mouse button during dragging with left …
akurasov commentedon Nov 23, 2021
Fixed in 1.0.0-rc2
Events
4 remaining items
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
Remove pointerId and isMousePressed states from ComposeScene
okushnikov commentedon Aug 23, 2024
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Remove pointerId and isMousePressed states from ComposeScene