lp:~gerboland/qtmir/upstart-respawning-app
- Get this branch:
- bzr branch lp:~gerboland/qtmir/upstart-respawning-app
Branch merges
- Josh Arenson (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 86 lines (+64/-1)2 files modifiedsrc/modules/Unity/Application/application_manager.cpp (+10/-1)
tests/modules/ApplicationManager/application_manager_test.cpp (+54/-0)
Related bugs
Bug #1368101: Stopped apps don't restart when launched from another app | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 255. By Gerry Boland
-
Fix AppMan handling Upstart resuming a Stopped application
AppMan did not expect apps to be restarted by anyone other than itself. However url-dispatcher will launch an instance of an application if it needs to. Should that app be in a Stopped state, AppMan would reject it. This patch has AppMan accept that new process and fire a focus event to the shell.
- 253. By Gerry Boland
-
TaskController may call processStarted synchronously, so check for that in startApplication before adding Fixes: 1371047
Approved by: Michael Zanetti, PS Jenkins bot - 251. By Gerry Boland
-
Fix unstable test - be more careful about synchronizing the Qt image provider and Mir snapshot threads
Use a state boolean and locking to synchronise the threads only if necessary (inspired by QFuture design)
Approved by: Daniel d'Andrada, PS Jenkins bot - 249. By Daniel d'Andrada
-
MirSurfaceItem: Ensure all touch sequences sent to Mir surface are properly ended.
In order to have a testable MirSurfaceItem I had to mock qtmir::Session.
To mock qtmir::Session I had to define a qtmir::SessionInterfac e. That caused many s/Session/ SessionInterfac es throughout the code base.
When creating a testing::MockSession for qtmir::Session it clashed with the existing testing: :MockSession for mir::scene: :Surface. Thus I had to refactor the namespacing of all mocks. So most of the diff is just about refactoring code to enable a MirSurfaceItem unit test.
Fixes: 1295623
Approved by: Michael Zanetti, PS Jenkins bot
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:qtmir