← Back to team overview

touch-packages team mailing list archive

[Bug 1448187] Re: location-service should return the correct error source

 

** Also affects: qtubuntu-sensors (Ubuntu)
   Importance: Undecided
       Status: New

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtubuntu-sensors in
Ubuntu.
https://bugs.launchpad.net/bugs/1448187

Title:
  location-service should return the correct error source

Status in location-service package in Ubuntu:
  Invalid
Status in qtubuntu-sensors package in Ubuntu:
  New

Bug description:
  The Location of the user can fail for several reasons,
  - User not allowing trust-store to give location access to an app
  - GPS service being disabled by the user
  - Random error

  Upstream Qt PositionSource provides the sourceError property [1] that
  allows apps to recognize this error type. At the moment ubuntu
  location-service just returns AccessError for all purposes. Knowing
  the exact type of error will immensely help apps recognize why it
  failed and keep their user informed.

  [1] http://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html
  #sourceError-prop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1448187/+subscriptions


References