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

Issue 735409 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug-Regression



Sign in to add a comment

Regression : Chrome shows "Copy" option in context menu even when nothing is selected on the page.

Reported by avsha...@etouch.net, Jun 21 2017

Issue description

Chrome Version : 60.0.3112.40 (Official Build) 6de35395b27b983b671c777caa9a273017e80d62-refs/branch-heads/3112@{#412} 32/64 bit
OS : Windows(7,8,10), Mac(10.11.6, 10.12.3), Linux(14.04 LTS)

What steps will reproduce the problem?
1. Launch chrome, navigate to chrome://version and press 'Ctrl' + 'A' to select a text.
2. Keep mouse cursor at top LHS of the page and double click anywhere in a whitespace area (text gets deselect).
3. Now right click in a whitespace area and observe the context menu. (Kindly review an attached screen cast)

Actual Result : Wrong context menu is shown i.e Chrome shows "Copy" option in context menu even when nothing is selected on the page.

Expected Result : On right click, Chrome should not show "Copy" option in context menu when text is not selected. 

This is a regression issue broken in ‘M-59’, below is the Manual Regression range and will soon update other info.
Good build : 59.0.3063.0
Bad build : 59.0.3064.0
 
Actual_Result.mp4
1.2 MB View Download
Expected_Result.mp4
1.0 MB View Download
Cc: jmukthavaram@chromium.org
Labels: hasbisect-per-revision
Owner: amaralp@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on Windows 7, Mac 10.12.5 & Ubuntu 14.04 using chrome latest Canary-61.0.3137.0.
Manual Bisect:
-------------
Good build : 59.0.3063.0-Revision-461928
Bad build : 59.0.3064.0-Revision-462305

Per revision bisect info:
------------------------
You are probably looking for a change made after 462271 (known good), but no later than 462272 (first known bad).
CHANGELOG URL:
The script might not always return single CL as suspect as some perf builds might get missing due to failure.
  https://chromium.googlesource.com/chromium/src/+log/f2ccf5b200be3027dd7b67346574689fc483500f..64bd88a5b66fc89ba17768422831fd00dd0cf8c6

Possible suspect:
----------------
https://chromium.googlesource.com/chromium/src/+/64bd88a5b66fc89ba17768422831fd00dd0cf8c6

amaralp@Please take a look & reassign to the right owner if it is not related to your change.
Thanks..!!

I don't think the Ctrl-A is required. I tried just double clicking on the left margin and got the same result. After logging I noticed that FrameSelection.SelectedText() is returning "\n" even though there is nothing visibly selected.

Comment 3 by yosin@chromium.org, Dec 6 2017

Labels: Pri-3
Lower to Pri-3 since we don't have time to work this.
Components: -Internals

Sign in to add a comment