GPS on and off is switched when using google maps from the browser

Bug #1585594 reported by Dave Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Incomplete
Undecided
Unassigned
webbrowser-app (Ubuntu)
New
Undecided
Unassigned

Bug Description

STEPS:
1. Flash Frieza with the latest image
2. Enable developer mode
3. adb shell from desktop
4. Run tail -f /var/log/syslog | grep --line-buffered GPS
5. Open the browser
6. Navigate to the maps.google.com
7. Enable location in browser and on page
8. Get a location
9. Switch the browser to the background
10. Now switch it to the foreground

EXPECTED:
I expect to see GPS activate and list a bunch of lines to say it has while the app is in the foreground
I expect to see GPS_close: WMT turn off GPS OK! when the app is in the background

ACTUAL:
The opposite is actually happening, When the app is in the foreground you get
May 25 12:19:35 ubuntu-phablet kernel: [ 1435.112882] (0)[1044:mnld][GPS] [I]GPS_close: WMT turn off GPS OK!
When the app is in the background you get:
May 25 12:19:36 ubuntu-phablet kernel: [ 1435.108749] (1)[1903:tx_thread][GPS] [I]GPS_read: signaled by -ERESTARTSYS(-512)

This is only happening in the browser for google maps, for here and unav the gps is behaving as expected. We are not entirely sure why on this so we are starting the bug in the browser app.

Revision history for this message
TarotChen (tarotchen) wrote :
  • syslog Edit (46.7 MiB, application/octet-stream)

attach the log for debugging.

Revision history for this message
TarotChen (tarotchen) wrote :
  • logcat Edit (21.5 KiB, application/octet-stream)
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

can you try with the latest? I don't even see logging anymore

Changed in canonical-devices-system-image:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.