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

Issue 600207 link

Starred by 19 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression: copying/pasting with omnibox appends to pasteboard instead of overwriting

Project Member Reported by ellyjo...@chromium.org, Apr 3 2016

Issue description

Chrome: 51.0.2698.0
OS X: 10.11.4

Reproduction steps:
1) Copy any string to the pasteboard (for example, "foo").
2) Select the omnibox of any tab (tab 1) with a URL, and hit command-c to copy.
3) Create a new tab (tab 2), and hit command-v to paste into its omnibox.
4) Open any other app that takes *plain text* pastes (I used Terminal.app)
5) Paste into that app

Expected behavior:
At step 3, the pasted string will be the URL of tab 1.
At step 5, the pasted string will be the URL of tab 1.

Observed behavior:
At step 3, the pasted string is "foo", then the URL of tab 1.
At step 5, the pasted string is "foo", then the URL of tab 1.

Note that if you paste into an app that accepts rich text pastes like TextEdit, the URL is pasted without "foo" prepended.
 
Labels: -Type-Bug Type-Bug-Regression
Owner: shrike@chromium.org
Copy/paste works correctly in 49.0.2623.87 so this appears to be a regression.

I am only able to reproduce the results in #1 by originally copying text from a web page (i.e. "foo" in step one must be in the content of a browser web page). If I copy text from someplace like a Terminal window, when I paste all I get is the text from the Terminal window (the URL text does not appear at all).

Additionally, following the steps 1-3, if I

4) Copy a URL from another omnibox
5) Create a new tab and hit command-v to paste into its omnibox

I get "foo", URL #1, and URL #2 all concatenated.

Cc: shrike@chromium.org
Owner: erikc...@chromium.org
Summary: Regression: copying/pasting with omnibox appends to pasteboard instead of overwriting (was: copying/pasting with omnibox appends to pasteboard instead of overwriting)
Suspecting https://codereview.chromium.org/1841813002: Update AutocompleteTextFieldEditor to use non-deprecated dragging APIs.

Results of bisect:

You are probably looking for a change made after 384732 (known good), but no later than 384762 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/bd4c6ac99e771e0d5893b25d8058d3153efb6fa1..d4e8c65ad84d47cbd436d05d7ec5393bd68194f9


 Issue 600347  has been merged into this issue.
Labels: ReleaseBlock-Dev M-51
 Issue 600283  has been merged into this issue.
Cc: ashej...@chromium.org
 Issue 600235  has been merged into this issue.
Status: Started (was: Assigned)
 Issue 600457  has been merged into this issue.
Status: Fixed (was: Started)
https://codereview.chromium.org/1857843002/
Cc: nyerramilli@chromium.org erikc...@chromium.org
 Issue 600233  has been merged into this issue.
 Issue 600565  has been merged into this issue.
 Issue 601795  has been merged into this issue.

Sign in to add a comment