App spread should not kill media
Bug #1355356 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-webapps-grooveshark (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Enjoying listening to Grooveshark tracks that I discovered from the Music scope, and I was surprised that going into the app spread killed the tunes. Seems legit to let the previously focused app keep the sound stage till something else is focused.
description: | updated |
Changed in unity8: | |
status: | New → Invalid |
affects: | unity8 → unity8 (Ubuntu) |
To post a comment you must log in.
This is a result of our selected app lifecycle. We're not killing any media in particular, the app is being suspended when unfocused.
The Grooveshark webapp, unfortunately, does not use our media hub that is meant to allow "escaping" the lifecycle by deferring the actual playback to a separate process, unaffected by the app lifecycle.
We could think of exempting apps that play sound from the lifecycle, but that would mean your app can just open a sound pipe without putting anything in it to stay running indefinitely.