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

Issue 723766 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 604782
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Selecting text is impossible in Chrome

Reported by make...@gmail.com, May 17 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce the problem:
1. select a text with mouse click from left/right side from a single line

What is the expected behavior?
Select only the selected text.

What went wrong?
Chrome selects the whole page.

Did this work before? No 

Chrome version: 58.0.3029.110  Channel: stable
OS Version: 10.0
Flash Version:
 
out.flv
408 KB Download
Labels: Needs-Triage-M58

Comment 2 by hdodda@chromium.org, May 18 2017

Cc: hdodda@chromium.org
Labels: Needs-Feedback
Tested the issue on windows 10 & 7 using M58 #58.0.3029.110 and issue is not reproduced using the below steps :

1. launched chrome and selected the text with mouse click and able to select the text left or right and entire page was not selected.

Attached screencast for reference.

@makedir-- Could you please check attached screencast and provide us the .mp4 file as we cannot open the provided .flv file.

Thanks!
723766.mp4
1.3 MB View Download

Comment 3 by make...@gmail.com, May 18 2017

Are you nuts? It even happens in your own video at 0:07 ... this site is unbelievable.
Project Member

Comment 4 by sheriffbot@chromium.org, May 18 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by make...@gmail.com, May 18 2017

this is truly amusing... the first two "examples" in your video arent in the category of this problem, and then the third one is, and it totally happens the moment you do the 3rd click selecting at 0:07. Truly amusing...
selectingtext.mp4
1.7 MB View Download

Comment 6 by make...@gmail.com, May 18 2017

...
example2.mp4
80.5 KB View Download

Comment 7 by make...@gmail.com, May 18 2017

Working totally normal and as expected in Edge...
edgeworking.mp4
199 KB View Download

Comment 8 by make...@gmail.com, May 18 2017

Working totally normal and as expected in Firefox...
workingfirefox.mp4
192 KB View Download
I can confirm the reported behaviour as well.
Also it is clearly visible in your video at 0:07. @hdodda

Comment 10 by woxxom@gmail.com, May 19 2017

This is an old/ancient and well-known problem: the selection starts in the actually clicked DOM element. I wouldn't be surprised there is an existing issue on crbug. 

Let's consider this DOM tree mockup:

  empty-box-displayed-as-left-column-via-CSS
  center-col
    text1
    text2
    text3
  empty-box-displayed-as-right-column-via-CSS

When you select by clicking to the right of "text2" what really happens is that the browser naively (dumbly?) starts with "empty-box-displayed-as-right-column-via-CSS" and extends it to "text2" in a linear fashion. In other words "text3" gets selected as well.

Cc: yosin@chromium.org
Components: -UI Blink>Editing>Selection
Status: Untriaged (was: Unconfirmed)
Requesting some one from blink team to look in to this issue.

Comment 12 by yosin@chromium.org, May 25 2017

Mergedinto: 604782
Status: Duplicate (was: Untriaged)
#c10, >This is an old/ancient and well-known problem
Yes, this is well known problem caused by visible position canonicalization.

Comment 13 by make...@gmail.com, May 25 2017

"Ah yes, this is an ancient problem, thehehe" *marking as duplicate and throwing away the link*. 2 years later: some magazine reports about this, devs panic-ally promises to fix it in a few days days.

Sign in to add a comment