Merge lp://qastaging/~gerboland/unity-mir/add-fail-and-resume-focus-support into lp://qastaging/unity-mir

Proposed by Gerry Boland
Status: Merged
Approved by: Michał Sawicz
Approved revision: 107
Merged at revision: 100
Proposed branch: lp://qastaging/~gerboland/unity-mir/add-fail-and-resume-focus-support
Merge into: lp://qastaging/unity-mir
Prerequisite: lp://qastaging/~gerboland/unity-mir/use-upstart-app-launch2
Diff against target: 303 lines (+112/-15)
5 files modified
src/modules/Unity/Application/ApplicationImage.qml (+0/-1)
src/modules/Unity/Application/application_manager.cpp (+70/-7)
src/modules/Unity/Application/application_manager.h (+6/-2)
src/modules/Unity/Application/taskcontroller.cpp (+30/-2)
src/modules/Unity/Application/taskcontroller.h (+6/-3)
To merge this branch: bzr merge lp://qastaging/~gerboland/unity-mir/add-fail-and-resume-focus-support
Reviewer Review Type Date Requested Status
Michał Sawicz Approve
Ricardo Mendoza (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+188040@code.qastaging.launchpad.net

Commit message

Add support for upstart-app-launch to request application resume & focus. This revealed extra work: prevent unexpected focus events propagating to shell, fix lifecycle bug and add workaround for handling of non-application sessions (like QtWebProcess and maliit).

Description of the change

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) wrote :

How does upstart know if an app stop was expected or not? Exit code?

77 + // be notified of that through the onProcessStarted slot. Else resume.

No such slot anymore.

review: Needs Information
Revision history for this message
Gerry Boland (gerboland) wrote :

> How does upstart know if an app stop was expected or not? Exit code?
An excellent question that I cannot answer.

> 77 + // be notified of that through the onProcessStarted slot. Else
> resume.
>
> No such slot anymore.
Fixed

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

Oops, pushed bad stuff here. Will fix

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

Ok, ready for final review

107. By Gerry Boland

Message a bit noisy, make it debug only

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ricardo Mendoza (ricmm) wrote :

Tried and tested on Nexus4, perfecto.

review: Approve
Revision history for this message
Michał Sawicz (saviq) wrote :

Code-wise looks good, will need someone else to have a look functionally.

review: Approve (code)
Revision history for this message
Michał Sawicz (saviq) wrote :

OK, worky!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches