New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 639303 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Pressing Control + Left or Control + Backspace in native input fields (omnibox, find in page) near punctuation moves cursor to the right

Project Member Reported by phistuck@gmail.com, Aug 19 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce the problem:
1. Go to the Omnibox.
2. Enter -
; d
3. Press left twice, or put the caret right after the semicolon.
4. Press Control + Left.

What is the expected behavior?
The caret moves to the left, behind the caret.

What went wrong?
The caret moves to the right, right behind the letter d.

Did this work before? Yes I think it worked. I do not remember when. Sorry.

Chrome version: 52.0.2743.116, 54.0.2832.2  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

I bumped into this because I type a lot of data URLs for HTML test cases in order to report them at crbug.com and this suddenly happened. I do not remember it happening before.
 
Components: -UI UI>Browser>Omnibox
Labels: -Type-Bug Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Summary: Pressing Control + Left in the omnibox when the caret is after a non-alphanumeric character in ; d moves it to the right (was: Pressing Control + Left in the omnibox when the caret is after a punctuation sign in ; d goes to the right)
The following characters also cause the problem -
:,.'"`~!@#$%^&*()_+-={}[]"|\/?
I don't have a Windows box around this second.  Can you please try the same steps using the "find in page" box and let me know if it has the same problem?  thanks.

Comment 3 by phistuck@gmail.com, Aug 19 2016

It reproduces there as well, yes.
Components: UI>Browser>FindInPage
Summary: Pressing Control + Left in native input fields (omnibox, find in page) when the caret is after a non-alphanumeric character in ; d moves it to the right (was: Pressing Control + Left in the omnibox when the caret is after a non-alphanumeric character in ; d moves it to the right)
Cc: msw@chromium.org
msw@, can you triage?

Likely similar to  bug 196326 .

Comment 7 by msw@chromium.org, Aug 23 2016

Cc: pkasting@chromium.org
Components: Internals>Views
Yeah, this is likely a defect in RenderTextHarfBuzz::AdjacentWordSelectionModel's windows-specific word breaking and move-by-word behavior, since this doesn't repro on Linux. It's at least tangentially related to  Issue 196326 . I tried to use the same word breaking/movement behavior as Linux and Chrome OS on Windows (and enable Bidi move-by-word testing) in https://codereview.chromium.org/1130683005 but Peter didn't think that was the right course of action. I'm not actively working in this area; perhaps Peter knows a good owner.
Cc: pawli...@chromium.org
I think this is currently unowned.

+CC pawliger.  Marc, is there a way to get an owner for RenderTextHarfBuzz?  Since Mike got pulled off to Mojo-related stuff long ago we haven't had anyone working on it AFAIK.
Cc: ranjitkan@chromium.org
 Issue 666600  has been merged into this issue.
The merged-in bug contains more examples, and also points out that Ctrl-Backspace (control + backspace) is similarly broken.
Summary: Pressing Control + Left or Control + Backspace in native input fields (omnibox, find in page) near punctuation moves cursor to the right (was: Pressing Control + Left in native input fields (omnibox, find in page) when the caret is after a non-alphanumeric character in ; d moves it to the right)
 Issue 623271  has been merged into this issue.

Comment 13 by msw@chromium.org, Nov 22 2016

Cc: -pawli...@chromium.org jsc...@chromium.org
pawliger -> jschuh for traige; see comments 7 & 8; reduced repro from  Issue 666600 :
1. Type this into the omnibox, (w/ two spaces and single quote): "foo  'bar"
2. Place the cursor between the two spaces.
3. Press Ctrl+Backspace. (similar issues w/CTRL+LEFT)
Expected: Removes "foo " for result: " 'bar"
Actual: Removes " '" for result: "foo bar"
Broken code: RenderTextHarfBuzz::AdjacentWordSelectionModel
Labels: Hotlist-Polish
Owner: jsc...@chromium.org
Status: Assigned (was: Untriaged)
Per comment #13, assigning to jschuh@ for triage.

Labels: Hotlist-OmniboxKeyboardShortcuts

Sign in to add a comment