Merge lp:~dandrader/unity8/splashRotation into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Albert Astals Cid on 2016-06-23 |
| Approved revision: | 2496 |
| Merged at revision: | 2556 |
| Proposed branch: | lp:~dandrader/unity8/splashRotation |
| Merge into: | lp:unity8 |
| Diff against target: |
527 lines (+233/-105) 5 files modified
qml/Stages/ApplicationWindow.qml (+6/-0) qml/Stages/SpreadDelegate.qml (+71/-81) tests/mocks/Unity/Application/MirSurfaceItem.cpp (+39/-12) tests/mocks/Unity/Application/MirSurfaceItem.h (+2/-0) tests/qmltests/Stages/tst_SpreadDelegate.qml (+115/-12) |
| To merge this branch: | bzr merge lp:~dandrader/unity8/splashRotation |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-06-29 | |
| Albert Astals Cid (community) | 2016-06-14 | Approve on 2016-06-23 | |
|
Review via email:
|
|||
Commit Message
Fix splashscreen orientation when app rotates own contents
+ Refactor states code in SpreadDelegate, removing redundancy
+ Fix mock MirSurfaceItem:
mirroring what the real implementation in qtmir does.
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?
Not applicable
* If you changed the UI, has there been a design review?
Not applicable
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2444
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Albert Astals Cid (aacid) wrote : | # |
Is there a way to reproduce the bug with any of the make tryXYZ tools we have? I've been trying but couldn't figure out how to make it happen.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2444
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
On 15/06/2016 05:54, Albert Astals Cid wrote:
> Is there a way to reproduce the bug with any of the make tryXYZ tools we have? I've been trying but couldn't figure out how to make it happen.
Sure.
- make tryOrientedShell
- Select "flo" in the Device Name drop-down list
- Unlock shell
- Drag in the launcher and click on the camera-app icon
| Albert Astals Cid (aacid) wrote : | # |
> Mir::Orientatio
Please be consistent with the existing implementation and move it to the constructor.
| Daniel d'Andrada (dandrader) wrote : | # |
On 21/06/2016 09:26, Albert Astals Cid wrote:
> Review: Needs Fixing
>
>> Mir::Orientatio
> Please be consistent with the existing implementation and move it to the constructor.
Done
| Albert Astals Cid (aacid) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass? If not, please explain why.
Unstable unrelated tests, passed fine locally
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2445
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Albert Astals Cid (aacid) wrote : | # |
Found a regression:
* Be in dash in vertical orientation
* Open Cut the rope from app scope
* Wait until Cut the rope is animating the rectangle in the main screen
* Change the phone to horizontal orientation
* Do a quick swipe on the right to return to dash
* Quickly after being in dash put the phone in vertical orientation
* Get http://
I can reproduce this fairly easy 2 out of 3 times with this branch and not at all without it.
- 2493. By Daniel d'Andrada on 2016-06-22
-
Fix mock MirSurfaceItem:
:orientationAng le implementation Mirroring what the real implementation in qtmir does.
- 2494. By Daniel d'Andrada on 2016-06-22
-
Fix splashscreen orientation when app rotates own contents
- 2495. By Daniel d'Andrada on 2016-06-22
-
Write regression test
- 2496. By Daniel d'Andrada on 2016-06-22
-
Fix regression found during code review
| Daniel d'Andrada (dandrader) wrote : | # |
> Found a regression:
> * Be in dash in vertical orientation
> * Open Cut the rope from app scope
> * Wait until Cut the rope is animating the rectangle in the main screen
> * Change the phone to horizontal orientation
> * Do a quick swipe on the right to return to dash
> * Quickly after being in dash put the phone in vertical orientation
> * Get http://
>
> I can reproduce this fairly easy 2 out of 3 times with this branch and not at
> all without it.
Fixed, thanks.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2495
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
UNSTABLE: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2496
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Albert Astals Cid (aacid) wrote : | # |
How hard would it be to add a testcase for that last regression fix you made?
| Daniel d'Andrada (dandrader) wrote : | # |
On 23/06/2016 06:36, Albert Astals Cid wrote:
> Review: Needs Information
>
> How hard would it be to add a testcase for that last regression fix you made?
I did it already. It's
http://
| Albert Astals Cid (aacid) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes, here's hoping i didn't do an incomplete testing like before :D
* Did CI run pass? If not, please explain why.
Almost yes, the main job failed in somewhere that doesn't really matter.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2496
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/

FAILED: Continuous integration, rev:2443 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1470/ /unity8- jenkins. ubuntu. com/job/ build/1964 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= vivid+overlay, testname= qmluitests. sh/1008/ console /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= xenial+ overlay, testname= qmluitests. sh/1008 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= yakkety, testname= qmluitests. sh/1008 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/1990 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1924 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 1924 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= yakkety/ 1924 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1915/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= yakkety/ 1915 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= yakkety/ 1915/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
UNSTABLE: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1470/ rebuild
https:/