brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.98k stars 2.35k forks source link

[Desktop] location service status is mismatched in bubble and URL icon #12766

Open LaurenWags opened 4 years ago

LaurenWags commented 4 years ago

Description

If you have location services enabled (System Preferences > Security and Privacy > Privacy) and Brave Browser is allowed to use them, sometimes you can get a mismatch in Brave's UI which is confusing.

Steps to Reproduce

  1. Clean install 1.17.70
  2. Navigate to http://browserleaks.com/geo
  3. Allow browserleaks to know your location. Now look to right side of URL bar and see that URL bar icon/bubble directs you to enable Location Services. Enable them in settings.
  4. Close Brave, delete your profile.
  5. Launch 1.17.70 again with clean profile.
  6. Navigate to http://browserleaks.com/geo
  7. Allow location services.
  8. URL bar bubble tells me location is off, however if you wait a few seconds it does find your location.

Actual result:

URL bar icon/bubble looks like this - note icon in the blue box: mismatch

Expected result:

If location services were truly off/Brave was not allowed to access, it should look like this: image

Reproduces how often:

easily

Brave version (brave://version info)

Brave 1.17.70 Chromium: 87.0.4280.60 (Official Build) (x86_64)
Revision 12697cfeb273d7de95cf9b18350d2c457f58224c-refs/branch-heads/4280@{#1352}
OS macOS Version 10.14.6 (Build 18G6042)

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

cc @kjozwiak as he reproduced

rebron commented 4 years ago

cc: @simonhong. I'm seeing this as well. Allowed to use in system settings but getting that prompt that it's turned off.