Merge lp:~aacid/ubuntu-ui-toolkit/swipeAreaPressedSignal into lp:ubuntu-ui-toolkit/staging
| Status: | Merged |
|---|---|
| Approved by: | Zoltan Balogh on 2015-12-09 |
| Approved revision: | 1734 |
| Merged at revision: | 1748 |
| Proposed branch: | lp:~aacid/ubuntu-ui-toolkit/swipeAreaPressedSignal |
| Merge into: | lp:ubuntu-ui-toolkit/staging |
| Diff against target: |
70 lines (+21/-17) 2 files modified
src/Ubuntu/Components/plugin/gestures/ucswipearea.cpp (+14/-17) tests/unit_x11/tst_swipearea/tst_swipearea.cpp (+7/-0) |
| To merge this branch: | bzr merge lp:~aacid/ubuntu-ui-toolkit/swipeAreaPressedSignal |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-12-09 | |
| Daniel d'Andrada (community) | code | Approve on 2015-12-07 | |
| Christian Dywan | 2015-12-07 | Pending | |
|
Review via email:
|
|||
Commit Message
Simplify logic for emitting draggingChanged
No need for a switch that considers the possible cases, just store the status before and check after
Fixes an issue in which the SwipeArea pressedChanged signal was not emitted if switching
directly from WaitingForTouch to Recognized
| Daniel d'Andrada (dandrader) wrote : | # |
- 1734. By Albert Astals Cid on 2015-12-07
-
Add a test for the pressed signal emission fix
| Daniel d'Andrada (dandrader) wrote : | # |
Code looks good to me (didn't test it myself though).
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1733
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1734
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Tim Peeters (tpeeters) wrote : | # |
Can you add --wipe to the usage doc in the h) case?
| Tim Peeters (tpeeters) wrote : | # |
sorry, my previous comment was meant for another MR.
| Christian Dywan (kalikiana) wrote : | # |
The change looks sensible, and the test as well.
You seem to be hitting unrelated CI problems from the looks of it, which don't come from this change. As we are in the middle of looking into uncovering some test issues you may want to merge staging and see if it improves - if not, I'll take another look.
| Albert Astals Cid (aacid) wrote : | # |
> The change looks sensible, and the test as well.
>
> You seem to be hitting unrelated CI problems from the looks of it, which don't
> come from this change. As we are in the middle of looking into uncovering some
> test issues you may want to merge staging and see if it improves - if not,
> I'll take another look.
There's nothing in staging to merge as far as i can see.

Code looks ok, but it needs a test