More aggressive RPH prompting (maybe using site engagement?) |
||||||||||||
Issue descriptionVersion: 53.0.2785.143 (Official Build) (64-bit) OS: Mac OS X El Capitan This is a UX nitpick rather than a bug :-) What steps will reproduce the problem? (1) Open a mailto: link What is the expected output? Up for discussion :-) I was expecting Chrome to ask me if I used a webmail client the first time. Note: there was some internal discussion on this already. One point that was brought up was that it'd be weird for Chrome to handle MUA different from other apps. However, if I setup a mailto: handler on one Chrome profile, it is only used on that Chrome profile and not others, so it seems there's precedent for handling mailto links in a context-specific way. What do you see instead? Native mail client that isn't set up. From a user perspective, this makes me worried that clicking random links on a page will open a disruptive experience.
,
Oct 16 2016
I'm going to clarify this slightly into a request. The current RPH prompt is just an icon that appears in the address bar. This is hard to notice, especially for wide windows. We already have some idea of how apps should be able to (progressively) ask for permissions when those permissions would be useful, without disrupting you. This prompt long predates those efforts and I imagine there's more we could do here to allow sites like Gmail to be slightly more aggressive about prompting for mailto: handling without it letting every site on the web be annoying. Don't know what component this should go in. Someone please help triage :/
,
Oct 17 2016
,
Oct 19 2016
,
Dec 12 2016
Thank you for the FYI. I think what's being discussed here doesn't need any changes to web platform APIs or Blink, so I'm removing the CustomHandlers component. If there's work we can do for you please feel free to reapply the label. Thanks!
,
Dec 12 2016
+CCing ainslie@ since this may be more a "browser side UX design" issue and I don't know whom the right owner is. (See comment 2 for a brief problem overview.) @5: I'm gonna reapply the label once, in hopes you can help clarify some things. (You may be right that ultimately this isn't Blink-side work, I'm not sure.) * What are the heuristics for when pages can prompt to register protocols, and how we show those prompts to the user? Is it just, right now any page can ask at any time and we always prompt in the same way (via an address bar icon and no bubble)? * For capabilities we expose progressively today like "add to homescreen", what do the web APIs look like? Based on the answers to that, if we wanted to allow pages with high site engagement to be more aggressive in their RPH prompting, would we need any web API changes to better facilitate this?
,
Dec 12 2016
> What are the heuristics for when pages can prompt to register protocols, and how we show those prompts to the user? Is it just, right now any page can ask at any time and we always prompt in the same way (via an address bar icon and no bubble)? Yes. From Blink's point of view, we don't stop pages calling the API, we just notify browser that the API was called. These make landfall in the browser in WebContentsImpl::OnRegisterProtocolHandler and it looks like the policy is in ui/Browser::RegisterProtocolHandler--put a chit in the omnibox. > For capabilities we expose progressively today like "add to homescreen", what do the web APIs look like? There's no web API for add to homescreen, it's a toast which depends on site engagement metrics. Ben, who's a good person to engage with questions like this? > Based on the answers to that, if we wanted to allow pages with high site engagement to be more aggressive in their RPH prompting, would we need any web API changes to better facilitate this? I don't think so. I don't know much about browser but I'm guessing you'd consult the SiteEngagementService in Browser::RegisterProtocolHandler and depending on the SiteEngagementScore decide what flair to show. I'm going to take the label off again just to get this out of my team's triage queue. I think this is a great idea and wish you well in your work. Happy to help if there's anything specific we can do to help!
,
Dec 12 2016
Adding Ballista and A2HS folks, this is very relevant for both of these projects.
,
Dec 13 2016
You could imagine a flavour of the app banner being used for this: once a site passes a certain engagement cutoff, we respond to the handler request by showing a prompt to the user. Could we also include a site in desktop web share if it's advertised that it can handle protocols? Also, I presume this would be a desktop-only behaviour? I don't think we actually do anything regarding protocol handlers on Android currently (though perhaps we should in this new PWA land).
,
Dec 13 2016
Stepping back for a moment - is there any reason not to just automatically accept RPH for sites with high enough engagement and skip the whole prompt / accept step in the first place?
,
Dec 13 2016
@10: If I have Yahoo and Gmail accounts and use both, will they both fight for the ability to handle mailto:?
,
Dec 13 2016
+maxwalker@ and I were just chatting about whether handler UI could be a candidate for his new "anchored toast" explorations (and move management out of the omnibox-RHS and into Page Info with other origin-scoped things). It's also interesting to me from an A2HS perspective.
,
Dec 13 2016
The problem is RPH currently only has a single registration for each protocol, so we can't auto-accept based on engagement (otherwise as soon as you got enough engagement with yahoo.com it will clobber your gmail.com registration). Eventually I'd like this to be a picker UI (and rolled in with whatever we come up with for Ballista); then we could use engagement, A2HS, etc.
,
Jun 20 2017
,
Jun 20 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 20 2018
Archiving given the lack of activity. Feel free to reopen if you have concrete ideas. |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by gboyer@google.com
, Oct 16 2016