3 seconds delay before sending SIGSTOP (changing apps, suspending phone) seems too much
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Unassigned | ||
qtmir (Ubuntu) |
Fix Released
|
Critical
|
Ricardo Mendoza | ||
qtmir (Ubuntu RTM) |
Fix Released
|
Critical
|
Michał Sawicz |
Bug Description
current build number: 51
device name: mako
channel: ubuntu-
last update: 2014-12-11 15:02:13
version version: 51
version ubuntu: 20141211
version device: 20141209
version custom: 20141211
Currently it takes around 3 seconds for the app to get the SIGSTOP signal when the app moves to background (when changing apps, moving to the home scopes, suspending the phone, etc), which is specially annoying if the app has an active audio stream (you can still hear the sound for a few seconds before it stops completely).
I know we export signals for the apps to react when they are moved out of focus, but I also believe the platform could react a bit sooner than the current 3 seconds timeouts (in order to improve the user experience for webapps, for example).
Related branches
- Gerry Boland (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/modules/Unity/Application/session.cpp (+1/-1)
- Gerry Boland (community): Approve (functional)
- Mir development team: Pending requested
-
Diff: 1107 lines (+798/-3)17 files modifieddebian/changelog (+14/-0)
src/common/abstractdbusservicemonitor.cpp (+101/-0)
src/common/abstractdbusservicemonitor.h (+68/-0)
src/modules/Unity/Application/Application.pro (+4/-0)
src/modules/Unity/Application/application.cpp (+20/-0)
src/modules/Unity/Application/application.h (+4/-0)
src/modules/Unity/Application/application_manager.cpp (+8/-0)
src/modules/Unity/Application/application_manager.h (+3/-0)
src/modules/Unity/Application/session.cpp (+1/-1)
src/modules/Unity/Application/sharedwakelock.cpp (+168/-0)
src/modules/Unity/Application/sharedwakelock.h (+50/-0)
tests/modules/Application/Application.pro (+16/-0)
tests/modules/Application/application_test.cpp (+122/-0)
tests/modules/SharedWakelock/sharedwakelock_test.cpp (+170/-0)
tests/modules/common/mock_shared_wakelock.h (+44/-0)
tests/modules/common/qtmir_test.h (+4/-1)
tests/modules/modules.pro (+1/-1)
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
milestone: | none → ww03-2015 |
status: | New → Confirmed |
no longer affects: | platform-api (Ubuntu) |
affects: | qtmir → qtmir (Ubuntu RTM) |
Changed in canonical-devices-system-image: | |
milestone: | ww03-2015 → ww05-2015 |
status: | Confirmed → In Progress |
Changed in qtmir (Ubuntu RTM): | |
status: | New → In Progress |
assignee: | nobody → Ricardo Mendoza (ricmm) |
Changed in qtmir (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Ricardo Mendoza (ricmm) |
Changed in qtmir (Ubuntu RTM): | |
assignee: | Ricardo Mendoza (ricmm) → nobody |
status: | In Progress → Triaged |
importance: | Undecided → Critical |
Changed in qtmir (Ubuntu): | |
importance: | Undecided → Critical |
Changed in qtmir (Ubuntu RTM): | |
milestone: | none → 14.09-release |
Changed in qtmir (Ubuntu RTM): | |
status: | Triaged → In Progress |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
This bug was fixed in the package qtmir - 0.4.4+15. 04.20150115- 0ubuntu1
--------------- 15.04.20150115- 0ubuntu1) vivid; urgency=low
qtmir (0.4.4+
[ Gerry Boland ]
* Add Wakelock support - ensures device drops to deep-sleep mode only
when all AppMan suspend tasks have completed
[ Ricardo Mendoza ]
* Reduce suspend timeout to half of the previous value because the
long value was too apparent on fast paced apps, like web games of
music players; it broke the user experience according to design.
(LP: #1402650)
-- Ubuntu daily release <email address hidden> Thu, 15 Jan 2015 15:19:46 +0000