Merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/paperChase into lp:ubuntu-ui-toolkit/staging
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Tim Peeters on 2015-03-03 | ||||||||
| Approved revision: | 1424 | ||||||||
| Merged at revision: | 1425 | ||||||||
| Proposed branch: | lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/paperChase | ||||||||
| Merge into: | lp:ubuntu-ui-toolkit/staging | ||||||||
| Diff against target: |
137 lines (+79/-14) 2 files modified
modules/Ubuntu/Components/Popups/Popover.qml (+8/-0) tests/unit_x11/tst_components/tst_popover.qml (+71/-14) |
||||||||
| To merge this branch: | bzr merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/paperChase | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-03-03 | |
| Tim Peeters | 2015-02-26 | Approve on 2015-03-03 | |
|
Review via email:
|
|||
Commit Message
Update popover position upon pointer movement
| Tim Peeters (tpeeters) wrote : | # |
8 +
9 + Connections {
10 + target: pointerTarget
11 + onXChanged: internal.
12 + onYChanged: internal.
13 + }
The pointer points to the middle of the target in either x or y direction, and it aligns with the edge of it in the other direction. So changes in width or height of the target need to trigger an update as well.
| Tim Peeters (tpeeters) wrote : | # |
23 + useDeprecatedTo
I propose to update the import versions (and (C)-year) in tst_popover.qml. If you decide to go for Ubuntu.Components version 1.2, useDeprecatedTo
| Tim Peeters (tpeeters) wrote : | # |
Can we have a regression test that is clearly marked as such (with the bug number in the function name), which fails without the proposed updates to Popover.qml?
- 1420. By Christian Dywan on 2015-02-26
-
Take also width and height changes into account
- 1421. By Christian Dywan on 2015-02-26
-
Bump imports for Test and Popups inx11…tst_popover
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1420
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1421
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Tim Peeters (tpeeters) wrote : | # |
I created a little test program, see http://
I would like to see this program (or something similar) added somewhere in tests/resources.
Also, the results with the test program are not as I expected. When you click the button to open the popover, and then drag the dragging area to move the button, I expect the popover to follow the button. This does not happen.
| Tim Peeters (tpeeters) wrote : | # |
tiny update to the test program: http://
| Tim Peeters (tpeeters) wrote : | # |
Note that it works perfect if the position of the pointer target updates, so for example:
with dragRectangle instead of the popButton.
| Tim Peeters (tpeeters) wrote : | # |
> I would like to see this program (or something similar) added somewhere in
> tests/resources.
I missed that we already have a resources/popover/ directory. The test program can be added there, as it tests moving of the pointer target, which the other popover tests do not test.
- 1422. By Christian Dywan on 2015-03-02
-
Unit test popover arrow direction and parent displacement
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1422
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1423. By Christian Dywan on 2015-03-03
-
Uncomment Moving parent tag with a bug link
- 1424. By Christian Dywan on 2015-03-03
-
Forgotten comment markers
| Christian Dywan (kalikiana) wrote : | # |
I filed bug 1427557 for the parent movement case, as I don't think it's feasible to fix it here since it will need a hierarchy monitoring feature that we don't have right now (it's not possible to track global coordinates).
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1423
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:1419 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1483/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1545 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-amd64- ci/210 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/213 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/213/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-i386- ci/210 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 1375 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1543 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1543/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 18367
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1483/ rebuild
http://