Merge lp:~andreas-pokorny/mir/no-initial-display-configuration-sent-to-hosting-server into lp:mir
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Andreas Pokorny | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1526 | ||||
Proposed branch: | lp:~andreas-pokorny/mir/no-initial-display-configuration-sent-to-hosting-server | ||||
Merge into: | lp:mir | ||||
Diff against target: |
77 lines (+20/-3) 3 files modified
src/server/graphics/nested/nested_display.cpp (+12/-3) src/server/graphics/nested/nested_display.h (+2/-0) tests/unit-tests/graphics/nested/test_nested_display.cpp (+6/-0) |
||||
To merge this branch: | bzr merge lp:~andreas-pokorny/mir/no-initial-display-configuration-sent-to-hosting-server | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Daniel van Vugt | Needs Fixing | ||
Alexandros Frantzis (community) | Abstain | ||
Alan Griffiths | Approve | ||
Review via email: mp+213126@code.launchpad.net |
Commit message
Workaround for Greeter turning the screen on.
This is just a workaround for the issue with the split greeter. While display is off another greeter is spawned to be shown as soon as display is turned on again. A greeter is a nested mir server. On initialization nested servers send the initial display configuration to the hosting server. Obviously that configuration contains power_mode == MirPowerMode:
u-s-c sets the focus onto the recently started greeter as soon as the session has a surface with buffers in. On that focus change the the stored display configuration (given they have one) is applied. Which turns the display on.
This change disables sending the first/initial nested display configuration.
We clearly need a better solution for that issue so we can remove that workaround as soon as we have one.
Description of the change
Bandaid for greeter turning screen on.
PASSED: Continuous integration, rev:1514 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/1192/ jenkins. qa.ubuntu. com/job/ mir-android- trusty- i386-build/ 1409 jenkins. qa.ubuntu. com/job/ mir-clang- trusty- amd64-build/ 1407 jenkins. qa.ubuntu. com/job/ mir-mediumtests -trusty- touch/989 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 924 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 924/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 929 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 929/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- trusty- armhf/990 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- trusty- armhf/990/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/922 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 5329
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/1192/ rebuild
http://