This is a known issue indeed, thanks for filing a bug to track it and
for the proposed solutions. See my comments inline:

> * The Browser should something that isn’t a dialog for site-specific
> permissions, like Firefox does. (This would also have the benefit that
> a background tab couldn’t steal focus with a permission dialog.)

I like that idea, and it would align with what other major browsers do.
Added an ubuntu-ux task to get design to comment on it.


> * The Browser should have every permission by default, on the
> understanding that it can be trusted to ask per-site.

This was suggested and requested in the past, but it turned out to be a
security concern. Exactly what the problem is was not elaborated on,
though.


> * trust-store should let any app split permissions into zones granted
> independently, and Browser should have one zone per Web site.

That’s an interesting suggestion, and it might have useful applications
outside of the browser use case. This would require a public API for
applications to inform the trust store that a domain/zone has been
granted permission, because when the first dialog is shown by the
browser, no request to the location service has been issued yet, so the
trust store hasn’t been involved yet.

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

Title:
  First visit to location-using site results in two dialogs

Status in Ubuntu UX:
  New
Status in trust-store package in Ubuntu:
  New
Status in webbrowser-app package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 15.04 r270

  0. Flash the phone.
  1. Launch the Browser.
  2. Go to maps.google.com.
  3. Tap “Allow”.

  What happens:
  2. A dialog appears, “Permission Request” “This page wants to use your 
device’s location.” Deny / Allow
  3. A dialog appears, “Browser wants to access your current location.” Allow / 
Don’t Allow

  What should happen: Only one dialog appears. Two is ridiculous,
  especially given their visual differences.

  Possible ways to solve this bug:

  * The Browser should something that isn’t a dialog for site-specific
  permissions, like Firefox does. (This would also have the benefit that
  a background tab couldn’t steal focus with a permission dialog.)

  * The Browser should have every permission by default, on the
  understanding that it can be trusted to ask per-site.

  * trust-store should let any app split permissions into zones granted
  independently, and Browser should have one zone per Web site.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1553713/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to