← Back to team overview

dx-packages team mailing list archive

[Bug 1074999] Re: Don't use geoclue if "show-auto-detected-location" is set to false

 

** Changed in: indicator-datetime
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1074999

Title:
  Don't use geoclue if "show-auto-detected-location" is set to false

Status in The Date and Time Indicator:
  Fix Released
Status in “indicator-datetime” package in Ubuntu:
  Fix Released

Bug description:
  This bug is split off from an "umbrella" Bug #944251 which discusses
  various network connections made by various applications.

  There are two reasons to not use geoclue until the user's specified it
  in the "show-auto-detected-location" settings:

  (1) In the Nov 2012 UDS session on eliminating unnecessary startup
  memory/performance hits on the Nexus 7, we discussed deferring
  indicator-datetime's invocation of geoclue until it's actually needed,
  such as when datetime's menu is about to show.

  (2) Several users perceive datetime's use of geoclue/geoip as a breach
  of privacy. (See bug #944251,
  http://ubuntuforums.org/showthread.php?t=2000108,
  http://askubuntu.com/questions/106916/how-do-i-stop-geoip-from-
  connecting-to-the-internet-every-time-i-boot)

  Inspecting the code though, it seems that the geoclue code all boils
  down to setting the "geo_timezone" variable for use in
  update_location_menu_items(). There, we build a menuitem for the
  geo_timezone which is only shown if com.canonical.indicator.datetime
  .show-auto-detected-location is true.

  So, indicator-datetime could avoid unnecessary startup overhead -- and
  please privacy-minded users -- by deferring use of geoclue
  until/unless the user enables the "In the clock's menu, show time in
  the auto-detected location" checkbox.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-datetime/+bug/1074999/+subscriptions