Merge lp:~alan-griffiths/mir/nested-server-applies-display-config-policy into lp:mir
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Alan Griffiths on 2015-10-26 | ||||||||
| Approved revision: | 3052 | ||||||||
| Merged at revision: | 3056 | ||||||||
| Proposed branch: | lp:~alan-griffiths/mir/nested-server-applies-display-config-policy | ||||||||
| Merge into: | lp:mir | ||||||||
| Diff against target: |
225 lines (+119/-17) 4 files modified
include/platform/mir/graphics/display_configuration.h (+3/-0) src/platform/graphics/display_configuration.cpp (+23/-0) src/server/graphics/nested/display.cpp (+9/-2) tests/acceptance-tests/test_nested_mir.cpp (+84/-15) |
||||||||
| To merge this branch: | bzr merge lp:~alan-griffiths/mir/nested-server-applies-display-config-policy | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-10-26 | |
| Kevin DuBois (community) | Approve on 2015-10-26 | ||
| Alexandros Frantzis (community) | 2015-10-23 | Approve on 2015-10-26 | |
| Andreas Pokorny (community) | Approve on 2015-10-26 | ||
|
Review via email:
|
|||
Commit Message
nested: Apply the display config policy during startup
Description of the Change
nested: Apply the display config policy during startup
- 3051. By Alan Griffiths on 2015-10-23
-
Guess what keeps clang happy
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3051
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Alexandros Frantzis (afrantzis) wrote : | # |
Looks good.
Before my final approval, though, I would like for Andreas to review because I remember him mentioning that applying the config at startup had created problems for the greeter in the past (something to do with power modes but I don't remember the details).
| Andreas Pokorny (andreas-pokorny) wrote : | # |
Looks like a good opportunity to use the new shiny std::equa std::equal which takes two ranges in c++14
| Andreas Pokorny (andreas-pokorny) wrote : | # |
@alf: The sequence of what happens with the separated greeter process was:
- usc receives the trigger to turn the screen off
- changes the config to turn the screen off
- usc/lightm? starts a greeter process to be on top when the display is turned on again
- (greeter is a nested server with indicators as clients..)
- greeter submits a display configuration (like in the MP here)
- usc focuses the greeter session
- on focus change the sessions display configuration with powermode == on is applied
- graphics platform turns screen on again..
a cleaner solution would have been to make usc mediate the display change. Currently we dont have a split out nested greeter so the problem will not occur immediately...
So apart from the std::equal comment I am happy with this..
- 3052. By Alan Griffiths on 2015-10-26
-
std::vector is EqualityComparable
| Andreas Pokorny (andreas-pokorny) wrote : | # |
oh even better..
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3052
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
CI glitch?
+ sudo add-apt-repository --yes ppa:ci-
Cannot add PPA: 'ppa:~ci-
The team named '~ci-train-
Please choose from the following available PPAs:
...

FAILED: Continuous integration, rev:3050 jenkins. qa.ubuntu. com/job/ mir-ci/ 5388/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/4620/ console jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/3527/ console jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/4562/ console jenkins. qa.ubuntu. com/job/ mir-mediumtests -wily-touch/ 520/console jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 1542 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 1542/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-wily- i386-ci/ 520 jenkins. qa.ubuntu. com/job/ mir-wily- i386-ci/ 520/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 4563/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- wily-armhf/ 521/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
None: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
None: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/5388/ rebuild
http://