Merge lp:~gerboland/unity8/window-width-height-changes-acted-upon-always into lp:unity8
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~gerboland/unity8/window-width-height-changes-acted-upon-always |
| Merge into: | lp:unity8 |
| Diff against target: |
28 lines (+3/-4) 2 files modified
qml/Rotation/NinetyRotationAnimation.qml (+2/-2) qml/Shell.qml (+1/-2) |
| To merge this branch: | bzr merge lp:~gerboland/unity8/window-width-height-changes-acted-upon-always |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel d'Andrada (community) | Needs Fixing on 2016-04-25 | ||
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-03-24 | |
| Albert Astals Cid (community) | 2016-02-19 | Approve on 2016-03-22 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2016-02-19 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2016-04-28.
Commit Message
Shell and Stage sizing fixes
1. Always bind Shell width/height to OrientedShell width/height, fixes issues with window resize after orientation change
2. Use anchors instead of width/height binding for Stages container, avoids a binding loop on width which fixes Stages resizing
| Gerry Boland (gerboland) wrote : | # |
| Daniel d'Andrada (dandrader) wrote : | # |
Commit message: add a newline after the short summary?
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2205
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: 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://
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2205
https:/
Executed test runs:
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:/
Click here to trigger a rebuild:
https:/
| Albert Astals Cid (aacid) wrote : | # |
Why are the changes on qml/Shell.qml needed? I mean what we have is also a binding, no?
| Gerry Boland (gerboland) wrote : | # |
> Why are the changes on qml/Shell.qml needed? I mean what we have is also a
> binding, no?
Hmm, I can't quite remember now. What is there should not misbehave. I probably switched it since anchors.fill usually better to use.
| Albert Astals Cid (aacid) wrote : | # |
> > Why are the changes on qml/Shell.qml needed? I mean what we have is also a
> > binding, no?
>
> Hmm, I can't quite remember now. What is there should not misbehave. I
> probably switched it since anchors.fill usually better to use.
I find it makes code more complicated to understand (and maybe even break?) since with this code we're setting both anchors.fill and width/height bindings for the Shell {} item.
Isn't it better to just set one of those so it's clearer what is applying?
| Gerry Boland (gerboland) wrote : | # |
Oh, my commit message explained why I did it:
"Use anchors instead of width/height binding for Stages container, avoids a binding loop on width which fixes Stages resizing"
I didn't dig into why a binding loop appeared.
I'm not setting both anchors & width/height for Shell{}. I set width/height of Shell{}, and then ensure the Stages container fills its parent (which is Shell{}'s root item)
| Albert Astals Cid (aacid) wrote : | # |
> I'm not setting both anchors & width/height for Shell{}. I set width/height of
> Shell{}, and then ensure the Stages container fills its parent (which is
> Shell{}'s root item)
Ah right, sorry, missed that.
| Gerry Boland (gerboland) wrote : | # |
* Are there any related MPs required for this MP to build/function as expected? Please list.
N
* Did you perform an exploratory manual test run of your code change and any related functionality?
Y
* Did you make sure that your branch does not contain spurious tags?
Y
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
| Albert Astals Cid (aacid) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Not really a manual test, but it is clear we need the binding
* Did CI run pass? If not, please explain why.
unstable btu doesn't really look related.
* Did you make sure that the branch does not contain spurious tags?
Yes
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2205
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2205
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2205
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2205
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
- The qml/Rotation/
- HalfLoopRotatio
And it also looks more like a workaround the issue that RotationStates wasn't designed to support geometry changes OrientedShell than a proper fix.
*All* geometry properties (x, y, width, height, transformOriginX and transformOriginY) should have bindings assigned to then while shell is static (ie, not under a rotation animation) in order to properly support OrientedShell resizes.
Let me try to come up with a comprehensive solution for that.
Unmerged revisions
- 2205. By Gerry Boland on 2016-02-19
-
Use anchors instead of width/height binding for Stages, avoids a binding loop and fixes Stages resizing on window resize
- 2204. By Gerry Boland on 2016-02-19
-
Always bind Shell width/height to OrientedShell width/height, fixes issues with window resize
- 2203. By Launchpad Translations on behalf of unity-team on 2016-02-19
-
Launchpad automatic translations update.
- 2202. By Launchpad Translations on behalf of unity-team on 2016-02-18
-
Launchpad automatic translations update.
- 2201. By Launchpad Translations on behalf of unity-team on 2016-02-17
-
Launchpad automatic translations update.
- 2200. By Launchpad Translations on behalf of unity-team on 2016-02-16
-
Launchpad automatic translations update.

To repro bug:
1. boot phone with silo10
2. launch browser
3. rotate phone to landscape
4. plug phone into display
You should shell not fullscreen on display