Merge lp:~andreas-pokorny/unity-mir/fix-1281075 into lp:unity-mir
Proposed by
Andreas Pokorny
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gerry Boland | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 191 | ||||
Proposed branch: | lp:~andreas-pokorny/unity-mir/fix-1281075 | ||||
Merge into: | lp:unity-mir | ||||
Prerequisite: | lp:~andreas-pokorny/unity-mir/fix-1240400 | ||||
Diff against target: |
154 lines (+105/-13) 3 files modified
src/modules/Unity/Application/application_manager.cpp (+1/-12) src/modules/Unity/Application/application_manager.h (+0/-1) tests/application_manager_test.cpp (+104/-0) |
||||
To merge this branch: | bzr merge lp:~andreas-pokorny/unity-mir/fix-1281075 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
kevin gunn (community) | Needs Fixing | ||
Andreas Pokorny (community) | Approve | ||
Gerry Boland (community) | Approve | ||
Michał Sawicz | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
Use the process id found in the mir::shell::Session to match it with the Application object.
Description of the change
The issue is usually experienced when applications are started in parallel. As a result the notifications from mir/upstart do not happen in a fixed sequence. And since the application has to submit a surface before it leaves starting state the last start application will get all the sessions assigned to it.
The change ensures that mir sessions are assigned only to Applications with the same process id.
To post a comment you must log in.
PASSED: Continuous integration, rev:188 jenkins. qa.ubuntu. com/job/ unity-mir- ci/256/ jenkins. qa.ubuntu. com/job/ unity-mir- trusty- amd64-ci/ 119 jenkins. qa.ubuntu. com/job/ unity-mir- trusty- armhf-ci/ 120 jenkins. qa.ubuntu. com/job/ unity-mir- trusty- armhf-ci/ 120/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity-mir- trusty- i386-ci/ 119
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- mir-ci/ 256/rebuild
http://