Merge lp:~dandrader/qtmir/promptBeforeSurfaceDraws into lp:qtmir
Status: | Merged |
---|---|
Approved by: | Nick Dedekind |
Approved revision: | 486 |
Merged at revision: | 485 |
Proposed branch: | lp:~dandrader/qtmir/promptBeforeSurfaceDraws |
Merge into: | lp:qtmir |
Diff against target: |
138 lines (+78/-2) 5 files modified
src/modules/Unity/Application/mirsurfacelistmodel.cpp (+5/-0) src/modules/Unity/Application/mirsurfacelistmodel.h (+1/-0) src/modules/Unity/Application/session.cpp (+23/-2) src/modules/Unity/Application/session.h (+6/-0) tests/modules/SessionManager/session_test.cpp (+43/-0) |
To merge this branch: | bzr merge lp:~dandrader/qtmir/promptBeforeSurfaceDraws |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nick Dedekind (community) | Approve | ||
Unity8 CI Bot (community) | continuous-integration | Approve | |
Review via email: mp+294297@code.launchpad.net |
Commit message
Session: Add a blank surface to the public list if it already has child prompt surfaces
A prompt session may come in too early, before its parent session got a chance
to draw its surface's first frame.
Normally that wouldn't be a problem and we could withhold that parent surface until
it's finally drawn to. But unfortunately the application process might be blocked,
unable to draw anything, until its child prompt session gets dismissed.
Because of that we have no option but to expose this blank surface to shell so that
it can display it along with the prompt surface on top of it, so that the user can
interact with it right away and finally unblock the application.
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.
FAILED: Continuous integration, rev:485 /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/211/ /unity8- jenkins. ubuntu. com/job/ build-0- fetch/1574 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1531 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 1531 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1531 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1531/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1531 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1531/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1531/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1531/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1531/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1531/console
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/211/ rebuild
https:/