Merge lp:~unity-team/unity8/new_fix_upsidedown into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Michał Sawicz on 2015-11-05 |
| Approved revision: | 1952 |
| Merged at revision: | 2030 |
| Proposed branch: | lp:~unity-team/unity8/new_fix_upsidedown |
| Merge into: | lp:unity8 |
| Prerequisite: | lp:~mzanetti/unity8/panel-button-fixes |
| Diff against target: |
677 lines (+230/-142) 13 files modified
qml/Components/Orientations.qml (+57/-0) qml/DeviceConfiguration.qml (+93/-71) qml/OrientedShell.qml (+35/-25) qml/Shell.qml (+7/-13) qml/Stages/DesktopStage.qml (+2/-2) qml/Stages/PhoneStage.qml (+4/-6) qml/Stages/SpreadDelegate.qml (+8/-9) qml/Stages/TabletStage.qml (+13/-7) tests/qmltests/Stages/tst_PhoneStage.qml (+0/-2) tests/qmltests/Stages/tst_SpreadDelegate.qml (+6/-2) tests/qmltests/Stages/tst_TabletStage.qml (+2/-2) tests/qmltests/tst_OrientedShell.qml (+1/-1) tests/qmltests/tst_Shell.qml (+2/-2) |
| To merge this branch: | bzr merge lp:~unity-team/unity8/new_fix_upsidedown |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michał Sawicz | Approve on 2015-11-05 | ||
| PS Jenkins bot | continuous-integration | 2015-10-26 | Needs Fixing on 2015-10-31 |
| Daniel d'Andrada | 2015-10-26 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-10-26.
Commit Message
Enable support for overriding application orientations based on device type
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
Branch is intended to supersede lp:~josharenson/unity8/fix_upside_down_apps
by encapsulating the orientation overrides inside a neat QtObject, intended to reduce lines of code and improve clarity.
| Daniel d'Andrada (dandrader) wrote : | # |
In tests/qmltests/
Don't we have to pass an Orientations object to Shell?
I think that's why we're getting the warning and test failures below:
"""
file://
"""
"""
FAIL! : qmltestrunner:
Loc: [/home/
"""
"""
FAIL! : qmltestrunner:
Loc: [/home/
"""
"""
FAIL! : qmltestrunner:
Loc: [/home/
FAIL! : qmltestrunner:
Actual (): 1
Expected (): 2
Loc: [/home/
"""
| Daniel d'Andrada (dandrader) wrote : | # |
In qml/OrientedShe
"""
orientations: root.orientations ? root.orientations : ""
"""
This looks strange. Passing an empty string in case there's no root.orientations?
In which situation do you expect root.orientations to be null/undefined?
| Josh Arenson (josharenson) wrote : | # |
> In qml/OrientedShe
>
> """
> orientations: root.orientations ? root.orientations : ""
> """
>
> This looks strange. Passing an empty string in case there's no
> root.orientations?
>
> In which situation do you expect root.orientations to be null/undefined?
This was residual debug code that I will remove.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1938
http://
Executed test runs:
FAILURE: http://
UNSTABLE: http://
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: 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:1939
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
Some OrientedShell tests are failing and others don't even compile (PhoneStage and TabletStage)!
Please do check the results from the latest jenkins test run
| Daniel d'Andrada (dandrader) wrote : | # |
In tests/qmltests/
"""
orientations: Orientations{ id: orientations }
"""
This id is not being referenced anywhere. Please remove it.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1940
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
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:1940
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Has wrong branches
| Josh Arenson (josharenson) wrote : | # |
Stripped tags, merged trunk
| Daniel d'Andrada (dandrader) wrote : | # |
FAIL! : qmltestrunner:
Actual (): 8
Expected (): undefined
Loc: [/home/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1941
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Josh Arenson (josharenson) wrote : | # |
The solution was already in some code that I must have accidentally removed. qmltestrunner:
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1942
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1943
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
whitespace check fails:
qml/Stages/
You're mixing tabs and spaces there.
Otherwise it looks good and tests pass now (at least the ones I tried)
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1944
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: 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:1945
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1946. By Michał Sawicz on 2015-10-26
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1946
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
UNSTABLE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1947. By Michał Sawicz on 2015-10-26
-
Bump QtQuick import
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1947
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1947
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1948. By Michał Sawicz on 2015-10-27
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1948
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Michał Sawicz (saviq) wrote : | # |
This seems to enable rotation when connected to an external screen.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1948
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1949. By Daniel d'Andrada on 2015-10-28
-
DeviceConfigura
tion.qml: Fix bogus merge with trunk
| Daniel d'Andrada (dandrader) wrote : | # |
> This seems to enable rotation when connected to an external screen.
Fixed. Was due to a bogus merge with trunk.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1949
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1950. By Daniel d'Andrada on 2015-10-29
-
Another bug from a bad merge with trunk
- 1951. By Daniel d'Andrada on 2015-10-29
-
Fix
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1950
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: 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:1951
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michał Sawicz (saviq) wrote : | # |
qmltestrunner.
property transformRotati
- 1952. By Daniel d'Andrada on 2015-10-30
-
Fix bug in OrientedShell.
orientationChan gesEnabled
| Daniel d'Andrada (dandrader) wrote : | # |
> qmltestrunner.
> property transformRotati
Fixed. It was actually a bug in trunk!
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1952
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:1936 jenkins. qa.ubuntu. com/job/ unity8- ci/6353/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 4367 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- wily-touch/ 728 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1065 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- wily/383 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/960 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/961 jenkins. qa.ubuntu. com/job/ unity8- wily-amd64- ci/592 jenkins. qa.ubuntu. com/job/ unity8- wily-i386- ci/593 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 3558 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4364 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4364/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 23683 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- wily-mako/ 439 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 728 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 728/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 23684
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: 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/unity8- ci/6353/ rebuild
http://