Public bug reported:

Attributing to location-service as this only happens on the phone and
not on a wily desktop

1. starts the following snippets on the phone.
-> you can see that onPositionChanged is fired approximately every 12s, 
independant of the updateInterval you set (like 1000, 2000, 10 000 seconds…).
Note as well that the positionSource.position.coordinate may not even change 
(at least from console.log visible digits).
2. try the same on a wily desktop
-> the event is only fired at startup.


----

snippet:

import QtPositioning 5.2
import QtLocation 5.3

PositionSource {
    active: true
    updateInterval: 60000 // 1 mins
    onPositionChanged: {
        console.log("coordinates " + positionSource.position.coordinate);
    }
}

** Affects: location-service (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: devexp

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1488801

Title:
  PositionSource onPositionChanged event is kept being fired every 12
  seconds, not respecting updateInterval (phone only)

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to