GPS always active when a scope that uses location is in the background
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Pete Woods | ||
| | unity-scopes-shell (Ubuntu) |
Undecided
|
Unassigned | ||
| | unity8 (Ubuntu) |
Undecided
|
Pete Woods | ||
| | unity8 (Ubuntu RTM) |
Undecided
|
dobey | ||
Bug Description
current build number: 256
device name: krillin
channel: ubuntu-
last update: 2015-03-13 11:19:04
version version: 256
version ubuntu: 20150312
version device: 20150310-3201c0a
version custom: 20150216-561-29-186
(same for arale/vivid as well)
If you happen to have a scope that uses location data in background, your GPS will always be active, doesn't matter what is in the foreground.
This is a an issue with krillin (standard channel) as the main scope (Today's) can easily on background when you're using other apps.
If you move to the apps scopes, then GPS will automatically be disabled, and this won't happen (same for any other scope that doesn't use location data).
This is only when the user is actively using the phone, as the GPS gets automatically disabled once the screen turns off. And there is no timeout at all, it stays there until you move to another scope or turn off the screen.
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-04-07
- Michał Sawicz: Approve on 2015-04-07
-
Diff: 33 lines (+2/-3)2 files modifiedqml/Dash/Dash.qml (+1/-1)
qml/Dash/GenericScopeView.qml (+1/-2)
- Ricardo Salveti: Approve on 2015-04-06
-
Diff: 25 lines (+2/-2)2 files modifiedqml/Dash/Dash.qml (+1/-1)
qml/Dash/GenericScopeView.qml (+1/-1)
| Changed in canonical-devices-system-image: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| milestone: | none → ww13-ota |
| tags: | added: battery |
| Pat McGowan (pat-mcgowan) wrote : | #2 |
Do we tell it no scopes are active?
| Michał Sawicz (saviq) wrote : | #3 |
Yes, for a scope to be active the dash needs to be focused and that scope needs to be in front.
| Pat McGowan (pat-mcgowan) wrote : | #4 |
@pete can you check this for us
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Pete Woods (pete-woods) |
| Changed in unity8 (Ubuntu): | |
| assignee: | nobody → Pete Woods (pete-woods) |
| status: | Incomplete → In Progress |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → In Progress |
| Launchpad Janitor (janitor) wrote : | #5 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity-scopes-shell (Ubuntu): | |
| status: | New → Confirmed |
| Ricardo Salveti (rsalveti) wrote : | #6 |
Any progress on this one?
| Changed in unity8 (Ubuntu RTM): | |
| status: | New → In Progress |
| assignee: | nobody → Rodney Dawes (dobey) |
| Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package unity8 - 8.02+15.
---------------
unity8 (8.02+15.
[ Rodney Dawes ]
* GPS only goes active when the Dash is in the foreground (LP:
#1434379)
-- CI Train Bot <email address hidden> Mon, 06 Apr 2015 14:32:55 +0000
| Changed in unity8 (Ubuntu RTM): | |
| status: | In Progress → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package unity8 - 8.02+15.
---------------
unity8 (8.02+15.
[ Albert Astals Cid ]
* Focus the shutdown dialog (LP: #1417991)
* Make url-dispatching scope activation when the dash is not on the
main scopes (LP: #1364306)
* We use autopilot3 now
[ CI Train Bot ]
* New rebuild forced.
* Resync trunk. added: po/or.po
[ Daniel d'Andrada ]
* Make tst_PreviewListView and tst_GenericScop
source builds
* MouseArea that shows the indicators panel should cover the
indicators bar only (LP: #1439318)
* Surface gets active focus also with mouse clicks
[ Josh Arenson ]
* Add a mode option to unity8 for selecting greeter mode in the future
* Remove PkgConfig include from Launcher plugin to fix cross-compile
(LP: #1437702)
[ Leo Arias ]
* Fixed the check for string in the lock screen test. (LP: #1434518)
[ Michael Terry ]
* Make sure the edge tutorial is destroyed when we receive a call
during the wizard. (LP: #1436349)
* Skip parts of the edge tutorial that require a touch device (like
spread and bottom edge). (LP: #1434712)
[ Michael Zanetti ]
* Don't hide stages just because they're empty (LP: #1439615)
* [Launcher] fix bug where an item would disappear even though the app
is running (LP: #1438172)
[ Nick Dedekind ]
* Fixed autopilot test failures related to udev input failure for
power button.
* Made improvements for laggy indicator backends (lp#1390136). (LP:
#1390136)
[ Pete Woods ]
* GPS only goes active when the Dash is in the foreground (LP:
#1434379)
[ handsome_feng<email address hidden> ]
* Modified the wrong time format in ScreenGrabber (LP: #1436006)
-- CI Train Bot <email address hidden> Thu, 09 Apr 2015 14:01:11 +0000
| Changed in unity8 (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in unity-scopes-shell (Ubuntu): | |
| status: | Confirmed → Invalid |


I don't think the dash currently has anything to do there, we already tell the scope middleware which scope is active.