Bug 106101 - Allow kicking clients off
Summary: Allow kicking clients off
Status: RESOLVED MOVED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-17 12:35 UTC by Bastien Nocera
Modified: 2018-05-06 14:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bastien Nocera 2018-04-17 12:35:12 UTC
We should have a way for the agent (eg. gnome-shell) to kick clients off geoclue, so that they stop using location services when location services are disabled.

Currently, long-running applications can carry on using geoclue even if the master switch, or the app's settings are disabled.
Comment 1 Zeeshan Ali 2018-04-22 14:47:51 UTC
The first part is not true. I recall fixing this case and also I just quickly tested by running where-am-i and disabling geolocation from the gnome-shell's menu. Geoclue shutsdown all sources and clients, and where-am-i correctly picks up this change and exits even.

However, nothing happens to currently running app if you disable its access from the control panel. We should add a signal to Agent interface and then shell should listen to changes in the flatpak db and emit the signal appropriately.
Comment 2 Zeeshan Ali 2018-04-22 14:48:57 UTC
Talking of this, do you think you'll be able to continue/finish the fixes in #97776 any time soon?
Comment 3 Bastien Nocera 2018-04-22 15:47:20 UTC
(In reply to Zeeshan Ali from comment #1)
> The first part is not true. I recall fixing this case and also I just
> quickly tested by running where-am-i and disabling geolocation from the
> gnome-shell's menu. Geoclue shutsdown all sources and clients, and
> where-am-i correctly picks up this change and exits even.

I'm working off second-hand information.

> However, nothing happens to currently running app if you disable its access
> from the control panel. We should add a signal to Agent interface and then
> shell should listen to changes in the flatpak db and emit the signal
> appropriately.

Yes, that would be very useful.

(In reply to Zeeshan Ali from comment #2)
> Talking of this, do you think you'll be able to continue/finish the fixes in
> #97776 any time soon?

When I get back to working on Flatpak, so I can actually test it.
Comment 4 GitLab Migration User 2018-05-06 14:37:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/geoclue/geoclue/issues/59.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.