** Changed in: canonical-devices-system-image
       Status: Fix Committed => Fix Released

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtdeclarative-opensource-
src in Ubuntu.

  Not sending relative mouse events to clients

Status in Canonical System Image:
  Fix Released
Status in QtMir:
  In Progress
Status in qtdeclarative-opensource-src package in Ubuntu:
  Fix Released
Status in unity8 package in Ubuntu:
Status in qtdeclarative-opensource-src package in Ubuntu RTM:
  Fix Released

Bug description:
  QtMir is not sending relative mouse movements in mouse events.

  Relevant code from mirsurface.cpp:

  mir::EventUPtr makeMirEvent(QMouseEvent *qtEvent, MirPointerAction action)
      auto timestamp = 
      auto modifiers = getMirModifiersFromQt(qtEvent->modifiers());
      auto buttons = getMirButtonsFromQt(qtEvent->buttons());

      return mir::events::make_event(0 /*DeviceID */, timestamp, 
std::vector<uint8_t>{} /* cookie */, modifiers, action,
                                     buttons, qtEvent->x(), qtEvent->y(), 0, 0, 
0, 0);

  The last 2 parameters in the make_event call should be the relative x & y 

To manage notifications about this bug go to:

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