New issue
Advanced search Search tips

Issue 731859 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Long URLs Should Show Origin on Focus, maybe

Project Member Reported by mpear...@chromium.org, Jun 9 2017

Issue description


In other words, we should show the left end of the URL rather than the right.

See discussions here:
https://docs.google.com/a/google.com/document/d/1Au4m1bC2j6ECEM4YDHSHRr3VUResQOuiwB3eXK1Y4r8/edit?disco=AAAABLdMFw8

It appears we do this right on Mac and Views.  Android has the bad behavior, as does iOS.

 
Description: Show this description
Cc: tedc...@chromium.org jdonnelly@chromium.org
CC tedchoc@ in case he knows someone can add the probably trivial fix for this on Android

CC jdonnelly for iOS (find an owner or perhaps do it directly)
I was in that discussion and I actually disagreed/didn't think we should make the change without more investigation.

By focusing the beginning of the URL, we are making editing URLs quite a bit harder (because scrolling on android text is painful).  I suspect editing URLs is uncommon, but before we make it a lot harder, I think we should get metrics to show that it is done so infrequently that we are OK with this behavior.

Comment 4 by k...@chromium.org, Jun 12 2017

Cc: k...@chromium.org
Labels: Hotlist-Chrome-Home
Summary: Long URLs Should Show Origin on Focus, maybe (was: Long URLs Should Show Origin on Focus)
What metrics would you believe?

Would the frequency of having a URL in the omnibox and then going via the omnibox (transition_type==typed) to another URL on the same hostname answer the question?  If this is low enough, say, <1% of all focuses in the omnibox when the omnibox is displaying a URL (i.e., not the NTP), then displaying the left side might make more sense.
That metric seems very reasonable to me.  In general, showing the left side probably makes for a prettier animation, but I can't imagine a case where it is more helpful.  So breaking an uncommon pattern to make for a more polished UI seems like a good tradeoff (whether that threshold is 1% or 10%).  <1% seems very, very easy to argue.

Comment 7 by k...@chromium.org, Jun 13 2017

Yeah, I was imagining we could also measure the times a user goes to another URL via type without clearing the URL bar (or pasting now that I think about it). I'd want to avoid including users who clear the URL bar and type the same domain as they were on before since they won't be affected by this change.

I wonder if we can detect single character types into the omnibox.
> I'd want to avoid including users who clear the URL bar and
> type the same domain as they were on before since they won't be
> affected by this change.
I imagine this is small.

The nice thing about my proposal in comment #6 is that is could be done using existing logs.

The more sophisticated questions (does the omnibox get cleared at any point during the interaction, or did a paste-event that overwrote the omnibox) all require new logging.  How much do you care about these more nuanced questions?

Comment 9 by k...@chromium.org, Jun 13 2017

Ah yes, let's start with the approach that you can use with existing logs since we can use that as an upper bound. Can you get per-user %'s as well?
Owner: mpear...@chromium.org
Status: Assigned (was: Available)
Yes.

Adding keywords "edit URL", "edit URLs", "modify URL", "modify URLs" because I just spent five minutes trying to find this bug without much luck.

Comment 12 by cl...@chromium.org, Aug 10 2017

Labels: -Hotlist-Chrome-Home
Status: Started (was: Assigned)

Comment 14 by k...@chromium.org, Feb 15 2018

Cc: -k...@chromium.org
Cc: stkhapugin@chromium.org
Labels: -OS-iOS
If I understood the bug correctly, we already do this on iOS (at least in UI Refresh). When the omnibox is focused, the pre-edit shows the beginning of the string, and exiting pre-edit doesn't move the selection, so you still see the beginning of the string. 

Therefore removing iOS. 

Sign in to add a comment