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

Issue 662874 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 25
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Line wrap and line ending should not get highlighted when whole text is selected.

Reported by vmrin...@gmail.com, Nov 7 2016

Issue description

Chrome Version       : 54.0.2840.71 m (64-bit)
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: FAIL
    Firefox: OK 45.0.1
         IE: OK 10.0.9200.17609

What steps will reproduce the problem?
(1) visit any site for instance https://www.chromium.org/getting-involved/download-chromium
(2) double click on paragraph
(3) the selection becomes the paragraph plus one extra white space at the end

What is the expected result?
The expected result is the paragraph, not the paragraph plus one extra space

What happens instead?
An extra white space is added to the selection

If you double click over one single word, no extra space is added. This phenomenon is also seen on tabbed elements, e.g. if you double click an element within a HTML cell.

Glad if you can fix it
 
chromium.png
122 KB View Download
Able to repro the issue on win10 mac and Linux chrome version 54.0.2840.99 and canary 56.0.2915.0 - An extra white space is added to the selection

This is a  non regression issue existing from M50 to latest builds

<M50 behavior : the entire line was selected

This is working fine on firefox browser
662874.png
24.2 KB View Download
Cc: sureshkumari@chromium.org
Labels: OS-Linux OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on windows-7,Mac-10.11.6 and Linux Ubuntu-14.04 using chrome stable version 54.0.2840.99 and latest canary 56.0.2918.0 .

This is non-regression issue observed from M-30 # 30.0.1550.0.  Hence marking it as Untriaged to get it addressed.
Note:From M30 to M40 entire paragraph and extra space was selected. 
From M50 paragraph and one extra space was selected.

Thanks. 
662874(30.0.1550.0).mp4
1.0 MB View Download

Comment 4 by ajha@chromium.org, Dec 7 2016

Components: Blink>Editing>Selection
Labels: M-57
Tagging with canary milestone.
Status: Available (was: Untriaged)
Summary: Line wrap and line ending should not get highlighted when whole text is selected. (was: Doubleclicking over an string longer than one word selects also one extra space at the end)
simple case:
data:text/html, <span >You can test Chrome builds or Chromium builds. &nbsp;Chrome builds have the most infrastructure for analyzing crashes and reporting bugs. &nbsp;They also auto-update as new releases occur, which makes them a good choice for most uses.&nbsp;</span>

1. Select over line endings.
Project Member

Comment 6 by sheriffbot@chromium.org, Feb 21 2018

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. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

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

Comment 7 by yosin@chromium.org, Feb 22 2018

Owner: yoichio@chromium.org
Status: Assigned (was: Untriaged)
yoichio@, you may be interested in...
Status: Fixed (was: Assigned)
Not repro on Version 71.0.3561.0 (Official Build) canary (64-bit).
I've changed selection painting several times for a while.
Someone fixed this I guess.

Sign in to add a comment