← Back to team overview

ubuntu-apps-bugs team mailing list archive

[Bug 1585594] [NEW] GPS on and off is switched when using google maps from the browser

 

Public bug reported:

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.

** Affects: webbrowser-app (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1585594

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

Status in webbrowser-app package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1585594/+subscriptions


Follow ups