Merge lp:~gerboland/unity8/initialSurfaceGeometry into lp:unity8
| Status: | Work in progress |
|---|---|
| Proposed branch: | lp:~gerboland/unity8/initialSurfaceGeometry |
| Merge into: | lp:unity8 |
| Prerequisite: | lp:~dandrader/unity8/lifecycle |
| Diff against target: |
190 lines (+72/-3) 8 files modified
debian/control (+2/-2) qml/Stages/PhoneStage.qml (+13/-0) qml/Stages/TabletStage.qml (+21/-0) tests/mocks/Unity/Application/ApplicationManager.cpp (+20/-0) tests/mocks/Unity/Application/ApplicationManager.h (+4/-0) tests/plugins/Unity/Launcher/CMakeLists.txt (+1/-1) tests/plugins/Unity/Launcher/launchermodeltest.cpp (+2/-0) tests/qmltests/Stages/tst_PhoneStage.qml (+9/-0) |
| To merge this branch: | bzr merge lp:~gerboland/unity8/initialSurfaceGeometry |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Albert Astals Cid (community) | 2014-08-21 | Needs Fixing on 2015-01-19 | |
| PS Jenkins bot | continuous-integration | 2014-08-21 | Needs Fixing on 2015-01-15 |
| Michał Sawicz | 2014-08-21 | Approve on 2014-08-21 | |
| Daniel d'Andrada | 2014-08-21 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2014-08-12.
Commit Message
Implement a surfaceSizer exported by qtmir to override the initial surface geometry requested by clients.
The SurfaceSizer is a Javascript function defined by unity8 which is registered with QtMir as a callback function whenever a client requests a new surface from Mir. It allows unity8 to override the client-requested width & height of the surface. This fixes the startup-resize visual glitching evident right now.
Description of the Change
Implement a surfaceSizer exported by qtmir to override the initial surface geometry requested by clients
* Are there any related MPs required for this MP to build/function as expected? Please list.
https:/
https:/
* 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
| Michał Sawicz (saviq) wrote : | # |
Oh and you need to depend on the new unity-api.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1142
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Gerry Boland (gerboland) wrote : | # |
Updated to newer unity-api and comments addressed
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1143
http://
Executed test runs:
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:1144
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in debian/control
1 conflicts encountered.
| Gerry Boland (gerboland) wrote : | # |
@Daniel: replied to your question (sorry for delay, forgot to hit "save comment" until now)
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1145
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Gerry Boland (gerboland) wrote : | # |
Reply inline
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1147
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Michał Sawicz (saviq) wrote : | # |
This conflicts with lp:~dandrader/unity8/lifecycle that's already approved and slated for release soon, maybe rebase on that one and we'll land them together?
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1148
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Michał Sawicz (saviq) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Will do so in silo.
* Did CI run pass? If not, please explain why.
N, missing dependencies
| Gerry Boland (gerboland) wrote : | # |
Is finally ready to be re-evaluated!
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1159
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1160. By Gerry Boland on 2015-01-15
-
Remove Dash block workaround
- 1161. By Gerry Boland on 2015-01-15
-
Merge trunk
| Albert Astals Cid (aacid) wrote : | # |
Code looks good, haven't time to test. If nobody beats me to it, i'll do on Monday
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1161
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
I'm going to put the Needs Fixing here but not sure if it belongs here or to the other two in the dependency chain.
When running Gallery with this patch, around 50% of the time i get the events view to do a weird jump when growing.
Can you please try and see if you can reproduce it? Because it looks weird and it doesn't seem to happen without the patch.
| Gerry Boland (gerboland) wrote : | # |
Just an update: so the visual glitching you see was for fullscreen apps only.
The previous behaviour actually suited fullscreen apps better, as before this work all app surfaces were initially fullscreen. Regular surfaces were only resized to fit under the panel after app drew its first frame - which is visually glitchy.
This work was to allow shell to give the app the correct initial surface size from the beginning, as opposed to a later resizing - and it works well for all except fullscreen apps - which I totally missed.
I've pushed changes to qtmir that grab the state of the initial surface (fullscreen, normal...) and so shell can make a more informed decision. However that's not working, as qtubuntu only declares a surface fullscreen *after* the surface was created. So need to fix that before this is ready
Unmerged revisions
- 1161. By Gerry Boland on 2015-01-15
-
Merge trunk
- 1160. By Gerry Boland on 2015-01-15
-
Remove Dash block workaround
- 1159. By Gerry Boland on 2015-01-13
-
Merge trunk
- 1158. By Gerry Boland on 2015-01-05
-
Merge trunk
- 1157. By Gerry Boland on 2014-12-09
-
Delay Dash DBus service creation slightly, to avoid possible shell deadlock
- 1156. By Gerry Boland on 2014-12-09
-
Merge trunk
- 1155. By Gerry Boland on 2014-12-08
-
Bump unity-api & qtmir dep
- 1154. By Gerry Boland on 2014-12-03
-
I hate you whitespace cheker
- 1153. By Gerry Boland on 2014-12-03
-
Undo all changes to Shell and Panel, start afresh
- 1152. By Gerry Boland on 2014-12-03
-
Merge current trunk

unity8-fake-env should provide unity-applicati ons-4 (or 3?).