Merge lp:~unity-team/qtmir/ghostApps-preemptQuitters into lp:qtmir
| Status: | Merged |
|---|---|
| Approved by: | Daniel d'Andrada on 2015-08-21 |
| Approved revision: | 370 |
| Merged at revision: | 367 |
| Proposed branch: | lp:~unity-team/qtmir/ghostApps-preemptQuitters |
| Merge into: | lp:qtmir |
| Prerequisite: | lp:~dandrader/qtmir/ghostApps |
| Diff against target: |
49 lines (+21/-0) 2 files modified
src/modules/Unity/Application/application_manager.cpp (+19/-0) src/modules/Unity/Application/application_manager.h (+2/-0) |
| To merge this branch: | bzr merge lp:~unity-team/qtmir/ghostApps-preemptQuitters |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel d'Andrada (community) | 2015-08-21 | Approve on 2015-08-21 | |
| PS Jenkins bot | continuous-integration | 2015-08-21 | Approve on 2015-08-21 |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-08-21.
Commit Message
AppMan: if app destroys surface while in Running state, it is probably shutting down, so preempt it by removing it from the model
Description of the Change
AppMan: if app destroys surface while in Running state, it is probably shutting down, so preempt it by removing it from the model
| Gerry Boland (gerboland) wrote : | # |
This could result in processes hanging around. If app decides to destroy its window, with this patch, appMan stops listing it. But that app could keep running in the background, and user has no way of knowing and no way of stopping that.
One idea would be on surface destrction, start a timer for 5 seconds, after which we ensure the process is dead, or have it killed.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:370
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
I think the intelligence should remain all in Application, with ApplicationManager being solely a demultiplexer of signals to Applications.
| Daniel d'Andrada (dandrader) wrote : | # |
But since this is an emergency, I'm ok with having it for now.

PASSED: Continuous integration, rev:370 jenkins. qa.ubuntu. com/job/ qtmir-ci/ 372/ jenkins. qa.ubuntu. com/job/ qtmir-wily- amd64-ci/ 105 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 105 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 105/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtmir- ci/372/ rebuild
http://