New issue
Advanced search Search tips

Issue 716398 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 473476
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug-Regression



Sign in to add a comment

one 'f' selects two 'ff'

Reported by xftroxgpx@gmail.com, Apr 28 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3083.0 Safari/537.36

Example URL:
https://doc.rust-lang.org/book/getting-started.html

Steps to reproduce the problem:
1. navigate to a webpage that contains any text with two or more consecutive 'f' chars, eg. words like 'differences'
ie. https://doc.rust-lang.org/book/getting-started.html
2. search for 'dif' so it finds the first word: 'differences'
or try with the mouse LMB to select 'dif' not 'diff' from that word.

What is the expected behavior?
'dif' is selected

What went wrong?
'diff' (both 'f's!) is selected

(a copy/paste shows you can only select either 'di' or 'diff' but not 'dif'; in other words, what you see selected is what really is selected, it's not just a visual thing)

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 60.0.3083.0  Channel: n/a
OS Version: 
Flash Version: 

Similarily, selecting "dif" selects the "difi" in the word "modified"

Works in firefox, however the selection of 'diff' kind of cuts into the second 'f' by like 1 pixel.

Including video demonstrating the issue. Font is: DejaVu Sans according to 'Computed' tab.
 
diff.webm
17.8 MB Download
chrome_version.txt
3.6 KB View Download

Comment 1 by xftroxgpx@gmail.com, Apr 28 2017

in the search input(Ctrl+F) selecting the 'f's shows different colors for the 'f' chars depending on which direction the selection comes, but selects right.

diff2.webm
3.5 MB View Download

Comment 2 by xftroxgpx@gmail.com, Apr 28 2017

another demo, searching for 'f' selects 'ff' irregardless(should be a word) of the font
diff3.webm
5.6 MB View Download

Comment 3 by xftroxgpx@gmail.com, Apr 28 2017

also tested with this chromium version
https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F467945%2Fchrome-linux.zip?alt=media
on pristine environment with not settings modified and no extensions added
(but still with that long cmd line)
chrome_ver2.txt
3.5 KB View Download
Screenshot_2017-04-28_12-14-36.png
133 KB View Download

Comment 4 by xftroxgpx@gmail.com, Apr 28 2017

black/white anticipatory char coloring when selection (in address bar)
diff4.webm
137 KB View Download

Comment 5 by xftroxgpx@gmail.com, Apr 28 2017

my chrome://gpu with the browser from OP(and from prev. comment)
just in case
gpu.txt
12.4 KB View Download
gpu.html
58.0 KB View Download

Comment 6 by xftroxgpx@gmail.com, Apr 28 2017

When selecting 'dif' in page contents with the keyboard instead of with the mouse, then I can copy/paste 'dif' or 'diff'; but with the mouse it's either 'di' or 'diff' - 'dif' cannot be selected.


This video shows:
1. 'di' and 'diff' with mouse ('dif' cannot be achieved with mouse)
2. then 'dif' and 'diff' with keyboard (shift+rightarrow, when selection was started already with mouse)

diff5.webm
4.6 MB View Download

Comment 7 by xftroxgpx@gmail.com, Apr 28 2017

In the Find input box (Ctrl+F) selecting 'dif' and 'diff' are both achievable with mouse.

Comment 8 by rbyers@chromium.org, Apr 28 2017

Components: -Blink Blink>Fonts Blink>Editing>Selection
Labels: -OS-Linux -Type-Bug OS-All Type-Bug-Regression
Mergedinto: 473476
Status: Duplicate (was: Unconfirmed)
Looks like this is  issue 473476 

Comment 9 by xftroxgpx@gmail.com, Apr 28 2017

Yes. Thank you!

Sign in to add a comment