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

Issue 784948 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Text selection jumps 1 character right when text selection handle is touched.

Project Member Reported by ctzsm@chromium.org, Nov 14 2017

Issue description

#### Copied from internal bug ####

Text selection modification is behaving weirdly on certain web-pages. When modified, the selection moves 1 character right regardless of the length of the selection. See the video attached.

- Chrome version 63.0.3239.8
- Device: Pixel

STEPS TO REPRODUCE:
1. Go to http://welcometotwinpeaks.com/locations/snoqualmie-permanent-welcome-to-twin-peaks-sign/
2. Select the address in the first paragraph.
3. Move selection handles.

EXPECTED RESULTS:
The selection changes according to the selection handle position.

OBSERVED RESULTS:
The whole selection is offset by one character to the right every time any selection handle is touched.

NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE: 10/10

Attaching video.

#### Copy end ####

I can repro this in both Chrome and WebView on this website. Mark this as RBS.
 
chrome_bug.mp4
13.2 MB View Download

Comment 1 by ctzsm@chromium.org, Nov 14 2017

Cc: zilka@google.com text-classifier@google.com

Comment 2 by ctzsm@chromium.org, Nov 14 2017

Cc: cma...@chromium.org
cmasso@, changwan@, is this considered RBS for M63?

Comment 3 by ctzsm@chromium.org, Nov 14 2017

Labels: -ReleaseBlock-Stable
I can repro this in M61, removing RBS label. 
Cc: yosin@chromium.org rlanday@chromium.org
Components: -Mobile>WebView Blink>Editing>Selection
Labels: -Pri-1 OS-Chrome OS-Linux Pri-2
This issue is reproducible on ChromeOS and Linux (probably also on Windows though I haven't tried).

The issue is that the handles are being positioned one character after where they should be. I think this is because the big "T" at the beginning of the article causes the character offset to be incorrect. Also this problem is not observed when selecting text after the "original sign painter" link.

There is a similar problem when we do an in page search. For example searching for "the" will highlight "he " instead of "the".

Comment 5 by yosin@chromium.org, Jan 10 2018

Labels: Pri-3
Project Member

Comment 6 by sheriffbot@chromium.org, Jan 10

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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

Sign in to add a comment