Bug 1473061 - Gnome Night Light tracks location once per second even with location services disabled
Summary: Gnome Night Light tracks location once per second even with location services...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: geoclue2
Version: 26
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zeeshan Ali
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-20 00:24 UTC by Rob
Modified: 2017-07-26 18:22 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-26 18:22:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 92798 0 None None None 2017-07-21 09:58:54 UTC

Description Rob 2017-07-20 00:24:02 UTC
Description of problem:

Running "dconf watch /" indicates that the setting "/org/gnome/settings-daemon/plugins/color/night-light-last-coordinates" is being updated once per second. Settings > Privacy > Location services is switched Off. This is causing excessive writes by dconf-service and is ignoring privacy settings. Editing the last-coordinates setting with dconf-editor results in the new value getting overwritten by my current location within 1 second. 


Version-Release number of selected component (if applicable): Gnome 3.24.2 on Fedora 26


How reproducible: Every second on every login


Steps to Reproduce:
1. Login with Gnome desktop environment
2. Run "dconf watch /"
3. "/org/gnome/settings-daemon/plugins/color/night-light-last-coordinates" setting will print once per second

Actual results:
"/org/gnome/settings-daemon/plugins/color/night-light-last-coordinates" is updated once per second with my approximate latitude and longitude when location services are disabled.

Expected results:
"/org/gnome/settings-daemon/plugins/color/night-light-last-coordinates" should not update my current lat/long when location services are disabled. It should update less frequently than once per second even when location services are enabled.  

Additional info:

Comment 1 Rui Matos 2017-07-21 09:58:55 UTC
Sounds like https://bugs.freedesktop.org/show_bug.cgi?id=92798. Please follow up upstream.

Comment 2 Rui Matos 2017-07-21 10:10:58 UTC
Let's re-purpose this bug to track a fedora geoclue2 package update.

Comment 3 Rui Matos 2017-07-23 15:25:05 UTC
Can you test with these scratch build rpms: https://koji.fedoraproject.org/koji/taskinfo?taskID=20696070 ?

Comment 4 Rui Matos 2017-07-23 16:08:07 UTC
(In reply to Rui Matos from comment #3)
> Can you test with these scratch build rpms:

Actually, please test this one instead: https://koji.fedoraproject.org/koji/taskinfo?taskID=20696922

it's gnome-settings-daemon instead of geoclue2 as the geoclue maintainer says the application can already control this.

Comment 5 Rob 2017-07-23 20:16:26 UTC
Thanks for the quick response on this. 

The gnome-settings-daemon scratch build fixes the problem of constantly finding a new location. 

However, it still ignores that I have Gnome Settings > Privacy > Location Services turned off. If I set org.gnome.settings-daemon.plugins.color.night-light-last-coordinates to the default value or any other custom value, it overwrites this value with my current location whenever I log back in. 

Should I open a new bug report for this? Thanks

Comment 6 Rui Matos 2017-07-24 13:58:55 UTC
(In reply to Rob from comment #5)
> However, it still ignores that I have Gnome Settings > Privacy > Location
> Services turned off. If I set
> org.gnome.settings-daemon.plugins.color.night-light-last-coordinates to the
> default value or any other custom value, it overwrites this value with my
> current location whenever I log back in. 
> 
> Should I open a new bug report for this? Thanks

No, I filed one upstream: https://bugzilla.gnome.org/show_bug.cgi?id=785342 . When it's pushed there I'll update the F26 package to include both fixes.

Comment 7 Fedora Update System 2017-07-24 14:56:12 UTC
gnome-settings-daemon-3.24.3-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c6f674bd0e

Comment 8 Fedora Update System 2017-07-25 04:27:49 UTC
gnome-settings-daemon-3.24.3-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c6f674bd0e

Comment 9 Fedora Update System 2017-07-26 18:22:04 UTC
gnome-settings-daemon-3.24.3-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.