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

Bug #709236 reported by Didier Roche-Tolomelli
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nux
Triaged
Low
Unassigned
Unity
Triaged
Low
Unassigned
nux (Ubuntu)
Triaged
Low
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

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.

Alex Launi (alexlauni)
Changed in nux (Ubuntu):
status: New → Triaged
Changed in nux:
status: New → Triaged
Changed in unity:
importance: Undecided → Wishlist
Changed in nux (Ubuntu):
importance: Undecided → Low
Changed in nux:
importance: Undecided → Low
Changed in unity:
status: New → Triaged
importance: Wishlist → Low
Changed in unity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.