No error set on PositionSource when couldn't fetch location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
location-service (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
PositionSource, when used on the phone (OTA5), didn't set the right sourceError on its object.
run the snippet below, deny location permission on that application
1. see that onPositionChanged event is fired, with "QGeoCoordinate
"However, whenever a positionChanged signal has been received, at least position:
So, this forces the developer to add an extra positionSource.
2. sourceError is always PositionSource.
--------------
snippet:
import QtPositioning 5.2
import QtLocation 5.3
PositionSource {
id: pos
active: true
updateInterval: 120000 // 2 mins
onPositionC
}
}