** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1639749

Title:
  When pointer motion crosses window borders SurfaceInputDispatcher
  injected events increase accumulated relative motion

Status in Mir:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  SurfaceInputDispatcher keeps track of input event targets - for
  historic reason those are called guesture owners - when it detects
  that the receiver of a pointer event is a different window it will
  send enter events to the new window and exit events to the old window.
  Those events contain the same attributes as the original pointer
  event. After sending the enter event the original motion event is also
  dispatched.

  Now if the new window accumulates the pointer events (like the nested
  server) to track a cursor position this tracking will now add the
  relative motion of the original event twice.

  We could decide to not send the original motion event after having
  provided the enter event. But that might not work for cases where the
  original event was a pointer button up/down event. Since we would have
  to emit that state change too. So that leaves us with nullifying the
  relative motion event in one case, or ignoring relative motion in
  enter exit events in our own cursor position tracker..

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1639749/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to