[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-03-05 Thread Ricardo Salveti
** Changed in: canonical-devices-system-image
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-03-04 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-scopes-shell -
0.5.4+15.04.20150226~rtm-0ubuntu1

---
unity-scopes-shell (0.5.4+15.04.20150226~rtm-0ubuntu1) 14.09; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Pete Woods ]
  * Manage location activations with shared pointers instead of manual
reference counting (LP: #1422879)
 -- CI Train Bot ci-train-...@canonical.com   Thu, 26 Feb 2015 22:00:38 +

** Changed in: unity-scopes-shell (Ubuntu RTM)
   Status: In Progress = Fix Released

** Changed in: unity8 (Ubuntu RTM)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-03-04 Thread Launchpad Bug Tracker
This bug was fixed in the package unity8 - 8.02+15.04.20150226~rtm-
0ubuntu1

---
unity8 (8.02+15.04.20150226~rtm-0ubuntu1) 14.09; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Pete Woods ]
  * Only set scopes active when the screen is on (LP: #1422879)
 -- CI Train Bot ci-train-...@canonical.com   Thu, 26 Feb 2015 22:01:45 +

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-27 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/unity-scopes-shell

** Branch linked: lp:ubuntu/vivid-proposed/unity8

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-27 Thread Launchpad Bug Tracker
This bug was fixed in the package unity8 - 8.02+15.04.20150226-0ubuntu1

---
unity8 (8.02+15.04.20150226-0ubuntu1) vivid; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Pete Woods ]
  * Only set scopes active when the screen is on (LP: #1422879)
 -- CI Train Bot ci-train-...@canonical.com   Thu, 26 Feb 2015 19:39:54 +

** Changed in: unity8 (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-27 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-scopes-shell -
0.5.4+15.04.20150226-0ubuntu1

---
unity-scopes-shell (0.5.4+15.04.20150226-0ubuntu1) vivid; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Pete Woods ]
  * Manage location activations with shared pointers instead of manual
reference counting (LP: #1422879)
 -- CI Train Bot ci-train-...@canonical.com   Thu, 26 Feb 2015 19:38:49 +

** Changed in: unity-scopes-shell (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-26 Thread Pete Woods
Okay, tvoss has helped uncover the actual bug. There's a refcounting
error with temporary scopes. Attaching MR.

** Branch linked: lp:~unity-api-team/unity-scopes-shell/fix-location-
refcount-bug

** Branch linked: lp:~unity-api-team/unity-scopes-shell/fix-location-
refcount-bug-vivid

** Changed in: location-service (Ubuntu)
   Status: New = Invalid

** Changed in: unity-scopes-api (Ubuntu RTM)
   Status: In Progress = Invalid

** Also affects: unity-scopes-shell (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: unity-scopes-shell (Ubuntu RTM)
   Importance: Undecided
   Status: New

** Changed in: unity-scopes-shell (Ubuntu)
   Importance: Undecided = Critical

** Changed in: unity-scopes-shell (Ubuntu)
 Assignee: (unassigned) = Pete Woods (pete-woods)

** Changed in: unity-scopes-shell (Ubuntu)
   Status: New = Confirmed

** Changed in: unity-scopes-shell (Ubuntu RTM)
   Status: New = Confirmed

** Changed in: unity8 (Ubuntu)
   Status: New = Confirmed

** Changed in: unity8 (Ubuntu RTM)
   Status: New = Confirmed

** Changed in: unity-scopes-shell (Ubuntu RTM)
   Importance: Undecided = Critical

** Changed in: unity-scopes-shell (Ubuntu RTM)
 Assignee: (unassigned) = Pete Woods (pete-woods)

** Changed in: unity8 (Ubuntu)
   Importance: Undecided = Critical

** Changed in: unity8 (Ubuntu)
 Assignee: (unassigned) = Pete Woods (pete-woods)

** Changed in: unity8 (Ubuntu RTM)
   Importance: Undecided = Critical

** Changed in: unity8 (Ubuntu RTM)
 Assignee: (unassigned) = Pete Woods (pete-woods)

** Changed in: unity8 (Ubuntu RTM)
   Status: Confirmed = In Progress

** Changed in: unity8 (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: unity-scopes-shell (Ubuntu RTM)
   Status: Confirmed = In Progress

** Changed in: unity-scopes-shell (Ubuntu)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-26 Thread Pete Woods
Checking the logcat output, I definitely see the GPS updates stopping
after moving away from location-aware scopes. This is on an N4.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-26 Thread kevin gunn
** Tags added: vivid

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-25 Thread Pete Woods
Testing the build from silo 3 confirms that the GPS active / inactive
signal is being sent to the location service 5 seconds after the screen
turns off.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-23 Thread Thomas Voß
Please find a verbose variant of the GPS Provider here:

  https://code.launchpad.net/~thomas-voss/location-service/be-verbose-
about-starting-and-stopping-updates-for-testing/+merge/250600

To use it, the upstart override job for the location service has to be
adjusted such that:

  GLOG_v=100 GLOG_logtostderr=1

is in the environment of the job. You can find the logs in
/var/log/upstart/ubuntu-location-service.log

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-23 Thread Pete Woods
** Branch linked: lp:~unity-api-team/unity8/scopes-active-depends-on-
screen

** Branch linked: lp:~unity-api-team/unity8/scopes-active-depends-on-
screen-rtm

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
So it's *possible* the problem could be in the location service, maybe?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
Okay, further debugging reveals that if you put the phone to sleep with
a scope that requires location visible, the location updates are not
disabled.

Looks like this is a regression. The location service listens to when
scopes are marked as active/inactive, and they all used to be marked
inactive when the phone went to sleep. This is obviously no-longer the
case.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
I just put together a branch for unity-scopes-shell that logs when GPS
updates from the location service are being enabled and disabled:

lp:~unity-api-team/unity-scopes-shell/log-when-updating-location

Trying this on my device produces the expected behaviour, i.e.:

* When looking at a scope that requires location, it enables location updates.
* When you move away from that scope, location updates stay enabled for a 5 
second timeout (in order that the GPS isn't rapidly turned on and off as you 
browse through scopes).

To be clear, the location session remains active all the time, we just
toggle the updates property. This is the (I believe correct) way tvoß
explained to use the location service to me.

Log output:
Enabling location updates
Disabling location updates
Enabling location updates
Disabling location updates
Enabling location updates
Disabling location updates

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
I think it's worth noting that this bug could be in addition to the
problem rsalveti is mentioning

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-17 Thread Ricardo Salveti
Also, it doesn't happen with today's scope, but I can see from logcat
that the GPS hardware is never really used in there (but it gets used by
the weather scope).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-17 Thread Ricardo Mendoza
From looking at the unity-scopes-shell code for the location provider,
it seems like there is no direct correlation with the client request and
the active location lookup service side. The request seems to be
continuous and always on, is this is so, then we have a problem as this
means the GPS hardware is active and signalling even though the user is
not interested in location data at the moment.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-17 Thread Pat McGowan
** Also affects: canonical-devices-system-image
   Importance: Undecided
   Status: New

** Changed in: canonical-devices-system-image
   Status: New = Confirmed

** Changed in: canonical-devices-system-image
   Importance: Undecided = High

** Tags added: battery

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs