← Back to team overview

touch-packages team mailing list archive

[Bug 709236] Re: Nux doesn't give the mouse button used while we are dragging

 

** Changed in: unity (Ubuntu)
       Status: New => Confirmed

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

Title:
  Nux doesn't give the mouse button used while we are dragging

Status in Nux:
  Triaged
Status in Unity:
  Triaged
Status in “nux” package in Ubuntu:
  Triaged
Status in “unity” package in Ubuntu:
  Confirmed

Bug description:
  see
  https://code.launchpad.net/~didrocks/unity/fix-709179-709119/+merge/47802

  With a NUX_IMPLEMENT_OBJECT_TYPE (Launcher),

  The connected signal is     OnMouseDrag.connect  (sigc::mem_fun (this, &Launcher::RecvMouseDrag));
  With:
  void Launcher::RecvMouseDrag(int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags)

  
  However, whatever mouse button is used to perform the drag, button_flags keeps being 0, so we need to make some hooks in MoUseDown/MouseUp to know which button has been pressed for the drag.

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