Closed Bug 2038194 Opened 26 days ago Closed 6 days ago

Make it more visible in browser UI that geolocation is being accessed

Categories

(Firefox :: Site Permissions, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
relnote-firefox --- ?
firefox153 --- fixed

People

(Reporter: emz, Assigned: bvandersloot)

References

Details

Attachments

(4 files)

When a website accesses geolocation via previously granted permission we should highlight that better. This would help with cases like Bug 2036733. Since Bug 630614 we show an indicator when geolocation is in use, including when it was last accessed (via the permission panel). We should consider making that indicator red and flashing similar what we do for camera / screen / microphone permissions.

Severity: -- → N/A
Priority: -- → P3

Show the site permission box on SERPs with persisted search terms, where
the identity-box would otherwise be hidden by the invalid pageproxystate.
The lock/globe icon stays hidden and the permission box's own cascade
decides when it appears. Also wobble and tint geo/serial/webrtc sharing
icons while a capture is active.

Assignee: nobody → bvandersloot
Attachment #9585257 - Attachment description: WIP: Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz! → Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz!,#urlbar!
Status: NEW → ASSIGNED
Attached image old.png

hmm it's adding quite a bit of padding. I wonder if we should decrease that.

https://phabricator.services.mozilla.com/D296287 should address the margin / padding issues

I think I also found a way to fix it and worked in the patch. Happy to try to manage merge conflicts and figure out the best CSS that does both of these.

Dale: what you think of the color change and persistence of the permission item into SERP?

Attachment #9585257 - Attachment description: Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz!,#urlbar! → Bug 2038194 - Make it more visible in browser UI that geolocation has been accessed - r=emz!,saschanaz!,#urlbar!
Attachment #9585257 - Attachment description: Bug 2038194 - Make it more visible in browser UI that geolocation has been accessed - r=emz!,saschanaz!,#urlbar! → Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz!,#urlbar!
Attachment #9585257 - Attachment description: Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz!,#urlbar! → Bug 2038194 - Make it more visible in browser UI that geolocation has been accessed - r=emz!,saschanaz!,#urlbar!
Attachment #9585257 - Attachment description: Bug 2038194 - Make it more visible in browser UI that geolocation has been accessed - r=emz!,saschanaz!,#urlbar! → Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz!,#urlbar!
Attachment #9585257 - Attachment description: Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz!,#urlbar! → Bug 2038194 - Make it more visible in browser UI that geolocation has been accessed - r=emz!,saschanaz!,#urlbar!
Pushed by bvandersloot@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bc43d32bfb5a https://hg.mozilla.org/integration/autoland/rev/109e6bcf66b9 Make it more visible in browser UI that geolocation has been accessed - r=emz,saschanaz,urlbar-reviewers,desktop-theme-reviewers,daleharvey,hjones
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/23cdb0f6f6b5 https://hg.mozilla.org/integration/autoland/rev/a96c25e743c4 Revert "Bug 2038194 - Make it more visible in browser UI that geolocation has been accessed - r=emz,saschanaz,urlbar-reviewers,desktop-theme-reviewers,daleharvey,hjones" for causing failures at browser_searchTerms_revert_keyboard.js.
Attachment #9585257 - Attachment description: Bug 2038194 - Make it more visible in browser UI that geolocation has been accessed - r=emz!,saschanaz!,#urlbar! → Bug 2038194 - Make it more visible in browser UI that geolocation is being accessed - r=emz!,saschanaz!,#urlbar!
Pushed by bvandersloot@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/797d2cca9ac6 https://hg.mozilla.org/integration/autoland/rev/f80c897e9689 Make it more visible in browser UI that geolocation is being accessed - r=emz,saschanaz,urlbar-reviewers,desktop-theme-reviewers,daleharvey,hjones
Flags: needinfo?(bvandersloot)
Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

I think this would be good to include in release notes. @ben do you mind adding release-notes request?

Flags: needinfo?(bvandersloot)

Release Note Request (optional, but appreciated)
[Why is this notable]: Commonly visible UI will change.
[Affects Firefox for Android]: No
[Suggested wording]: Permissions are now visible when the search mode switcher is visible; geolocation permission indicator now turns red when the Geolocation API is used.
[Links (documentation, blog post, etc)]: n/a

relnote-firefox: --- → ?
Flags: needinfo?(bvandersloot)

Note added to our 153 nightly release notes in the New section with this wording:

The location permission icon in the address bar now turns red while a website is actively accessing your location, making it easier to notice when your location is being shared.

I reworked the suggested wording to be more user-focused. I also added a screenshot of the address bar with the red icon.

I am keeping the relnote-firefox? flag set until we include this note in our final 153 release notes, thanks.

(In reply to Pascal Chevrel (relman team) -> :pascalc from comment #16)

Note added to our 153 nightly release notes in the New section with this wording:

The location permission icon in the address bar now turns red while a website is actively accessing your location, making it easier to notice when your location is being shared.

I reworked the suggested wording to be more user-focused. I also added a screenshot of the address bar with the red icon.

I am keeping the relnote-firefox? flag set until we include this note in our final 153 release notes, thanks.

This description only covers one aspect of the change. The other part that isn’t mentioned is that we show permissions for SERP pages now. The main motivation was the permission reuse between Google maps and search.

How about:

Firefox now highlights the location permission icon in red while a website is actively reading your location. The permission icon is also now visible on search results pages where it was previously hidden.

(In reply to Pascal Chevrel (relman team) -> :pascalc from comment #18)

How about:

Firefox now highlights the location permission icon in red while a website is actively reading your location. The permission icon is also now visible on search results pages where it was previously hidden.

I like it! We also show other permission icons on SERP now, but maybe that’s not as important to point out.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: