[DirectionalDragArea] TouchEvents lost when disabled
Bug #1276122 reported by
Michael Zanetti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Daniel d'Andrada |
Bug Description
If setting enabled: false while the DDA's dragging property is true, the DDA stays in that state and doesn't recover any more.
In other words, disabling a DDA which is currently being dragged, makes it lose the released event and the DDA stays in the dragging state forever.
Probably disabling it should reset dragging to false and status to Undecided regardless if the touch point is still pressed or not.
Related branches
lp:~dandrader/unity8/disableDDAWhileDragging
- PS Jenkins bot (community): Approve (continuous-integration)
- Michael Zanetti (community): Approve
-
Diff: 102 lines (+56/-0)3 files modifiedplugins/Ubuntu/Gestures/DirectionalDragArea.cpp (+9/-0)
plugins/Ubuntu/Gestures/DirectionalDragArea.h (+1/-0)
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.cpp (+46/-0)
Changed in unity8: | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
status: | New → In Progress |
Changed in unity8: | |
status: | In Progress → Fix Released |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
no longer affects: | unity8 |
To post a comment you must log in.
This bug was fixed in the package unity8 - 7.84+14. 04.20140228- 0ubuntu1
--------------- 04.20140228- 0ubuntu1) trusty; urgency=low
unity8 (7.84+14.
[ Michał Sawicz ]
* Fix CardHeader title font weight.
* Delete stale sockets. (LP: #1285215)
[ Dmitrijs Ledkovs ]
* Ship python3 autopilot modules.
[ Albert Astals ]
* Cleanup DashContent Remove unused signals and properties
[ Michał Karnicki ]
* Take it easy on the logging.
* Fix CardHeader title font weight.
[ Nick Dedekind ] INDICATOR_ PROFILE)
* Added ability to change indicator profile in shell (env
UNITY_
[ Andrea Cimitan ] splay
* Rename PreviewRating to PreviewRatingInput
* Adds PreviewRatingDi
[ Daniel d'Andrada ] Area: Reset status if disabled while dragging (LP:
* DirectionalDrag
#1276122)
[ Dimitri John Ledkov ]
* Ship python3 autopilot modules.
-- Ubuntu daily release <email address hidden> Fri, 28 Feb 2014 10:48:06 +0000