Merge lp:~gerboland/qtmir/dont-delete-qml-cache-on-good-stop into lp:qtmir
Proposed by
Gerry Boland
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Nick Dedekind | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 383 | ||||
Proposed branch: | lp:~gerboland/qtmir/dont-delete-qml-cache-on-good-stop | ||||
Merge into: | lp:qtmir | ||||
Diff against target: |
325 lines (+202/-6) 4 files modified
src/modules/Unity/Application/application.cpp (+64/-6) src/modules/Unity/Application/application.h (+3/-0) src/modules/Unity/Application/application_manager.cpp (+1/-0) tests/modules/ApplicationManager/application_manager_test.cpp (+134/-0) |
||||
To merge this branch: | bzr merge lp:~gerboland/qtmir/dont-delete-qml-cache-on-good-stop | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michał Sawicz | Approve | ||
Nick Dedekind (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+272761@code.launchpad.net |
Commit message
Add "Closing" state to Application, use it to distinguish user-induced close from app-induced close. Don't clear QML cache if user-induced.
Much code taken from a partially-related branch by Nick Dedekind:
https:/
Note there is 1 disabled test, which needs additional work to fix.
Description of the change
* Are there any related MPs required for this MP to build/function as expected? Please list.
N
* Did you perform an exploratory manual test run of your code change and any related functionality?
Y
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
To post a comment you must log in.
If app crashes, the QML cache may not be cleared. This requires additional work, which I'd prefer to consider in a later MR.