I installed GeoClue 2.5.6-0ubuntu1.1 from proposed including the dev and
demo packages. I cannot confirm that this fixes the issue as described
in the test case above using the where-am-i demo and Pantheon's polkit
agent

I then tried with GNOME Maps both from deb packaging and from Flatpak
and both were able to access my location while location services were
disabled

I also tried using the agent demo from geoclue-2-demo, and both where-
am-i and GNOME maps were able to access location without permission
while location services were marked disabled

** Tags removed: verification-needed-focal
** Tags added: verification-failed-focal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to geoclue-2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1890924

Title:
  Location services work with location services off, 20.04

Status in geoclue-2.0 package in Ubuntu:
  Fix Released
Status in geoclue-2.0 source package in Focal:
  Fix Committed
Status in geoclue-2.0 source package in Groovy:
  Won't Fix

Bug description:
  * Impact

  Disabling the location service in settings isn't reflection on
  traditional deb applications

  * Test case

  - Log in an Ubuntu desktop session
  - install geoclue-2-demo
  - go to gnome-control-center, privacy, location and ensure the service is 
disabled
  - $ /usr/libexec/geoclue-2.0/demos/where-am-i

  the script should return a permission error and not a location

  * Regression potential

  [racb] Users who are currently relying on a working location service
  despite having a setting disabling it will find that the location
  service will stop working because the setting will start to be
  honoured.

  The change is in the client library, try a few applications, deb and
  snap or flatpak and make sure the status is correct respected

  -----------------------------

  Not sure if this is the right package, but in the privacy -> location
  settings, in 18.04 I had to have my application be approved by user to
  access location with Geoclue. Now it seems this is working without the
  location services "enabled"??

  My application is repeater-START: https://sourceforge.net/projects
  /repeater-start/

  Steps to see issue:
  1) install Repeater-START and click the locate me button circle to the left. 
It goes to your rough location on map.

  2) Go to settings, privacy, location, note that location is turned
  off!?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-settings-daemon 3.36.1-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
  Uname: Linux 5.4.0-40-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu27.3
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sat Aug  8 19:38:12 2020
  InstallationDate: Installed on 2017-07-29 (1106 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: Upgraded to focal on 2020-06-22 (47 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/geoclue-2.0/+bug/1890924/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to