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

Issue 820855 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 821690
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Last dev and canary builds corrupt data copied from Windows console on pasting to text fields adding strange content

Reported by vsemozhe...@gmail.com, Mar 12 2018

Issue description

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

Steps to reproduce the problem:
1. Open cmd.exe.
2. Open notepad.exe or another text editor to compare the pasting.
3. Open any page in Google Chrome with textarea field.
4. Select a block with extra empty space in cmd.exe, copy with menu or mouse click.

What is the expected behavior?
5. Paste into notepad.exe: only visible text from cmd.exe is pasted. In other browsers like Firefox, the result is the same.

What went wrong?
6. Paste into Google Chrome: visible text from cmd.exe is pasted with extra data, usually a gibberish, but often some chunks of directory listings.

Did this work before? Yes Not sure, some weeks ago this was OK.

Chrome version: 67.0.3368.0  Channel: canary
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 29.0.0.117

66.0.3359.22 dev is also affected for now.

I am not sure if this is a possible security break: unexpected chunks of directory listings is a bit scary artifact.

See gif with some described attempts.
 
Three attempts with gibberish.
cmd-paste.gif
760 KB View Download
Labels: Needs-Bisect Needs-Triage-M67
Cc: krajshree@chromium.org
Labels: Triaged-ET Needs-Feedback
Unable to reproduce the issue on Win-7 and Win-10 using chrome reported version #67.0.3368.0.

Attached a screen cast for reference.

Following are the steps followed to reproduce the issue.
------------
1. Opened cmd.exe.
2. Opened notepad.exe to compare the pasting.
3. Opened a page in Google Chrome with textarea field i.e pasted in a text field by navigating to chrome->3 dots menu->help->report an issue.

vsemozhetbyt@ - Could you please check the attached screen cast and please let us know if anything missed from our end.

Thanks...!!
820855.mp4
1.5 MB View Download
Screen cast seems valid, thank you.

Some more checks from my end:
1. The issue remains with all the extensions toggled out.
2. The issue remains with all the options in chrome://flags/ reset to defaults.
3. The issue remains with cmd.exe code page set to UTF-8 or cp-1252.
4. No clipboard watching/editing utilities mess with clipboard.

Let me know if I can check anything else. I had not changed any significant things in my OS before the issue appeared some days ago.
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 12 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

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

Comment 6 by jdvor...@csas.cz, Mar 12 2018

Hello,

I'm able to reproduce this issue on current stale build 65.0.3325.146 64bit (Win 7 64bit). Can you try to reproduce it or let me know if is it known issue?

Thank you,

Jan
Labels: TE-NeedsTriageFromHYD
Unable to reproduce the issue on Win-7 using chrome latest stable version #65.0.3325.146 and latest dev #66.0.3359.26.

Attached a screen cast of latest stable behaviour for reference.

Following are the steps followed to reproduce the issue.
------------
1. Opened cmd.exe.
2. Opened notepad.exe to compare the pasting.
3. Opened a page in Google Chrome with textarea field i.e pasted in a text field by navigating to chrome->3 dots menu->help->report an issue.
4. Did not observe any chunk data in the text field.

As the issue is not reproducible from ET-end. Hence, forwarding the issue to inhouse team for further triaging on corp win-7 machine.

Thanks...!!

820855@M65.mp4
723 KB View Download

Comment 8 Deleted

Comment 9 by jdvor...@csas.cz, Mar 13 2018

Here is PSR record which shows described problem.
chrome_bug.zip
2.1 MB Download
Cc: kkaluri@chromium.org
Labels: -TE-NeedsTriageFromHYD Needs-Feedback
Unable to reproduce this issue on Windows 10, Win 7 with chrome Dev #66.0.3359.26, Canary #67.0.3369.0 as per steps provided in the comment #0, #1

vsemozhetbyt@ : Could you please re-try the same scenario on clean profile with no apps/extensions and let us know your observations.

jdvorsky@ : the provided .mht in comment #9 is showing a blank in browser, could you please provide a screen-cast of your recording.

Thank You...



Comment 11 by jdvor...@csas.cz, Mar 14 2018

Hello,

issue continues on today stable build as well.

Here you can check whole record:
https://drive.google.com/file/d/1_U0hgDSX6TRQqQpe3DhB_hjymNxRhJ1M/view?usp=sharing

I tried it with new user profile and in incognito mode without any plugins. I was able reproduce it on several machines and on 2008 Server.

Jan 
 kkaluri@

1. I've run a fresh profile like: "C:\Users\vmb\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --user-data-dir=j:\temp\test-profile

2. I've opened cmd.exe and type "echo 123"

3. I've selected this command and its output and copied this.

4. I've opened "report an issue." and pasted there.

5. I've got in the text area this data with unexpected file listing chunks (seems like part of PATH env variable):

C:\Windows\System32>echo 123
123

C:\Windows\System32>

                                       dows;.;C:\Python27\;C:\Python27\Scripts;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter\Driver;C:\Windows
Project Member

Comment 13 by sheriffbot@chromium.org, Mar 14 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -UI UI>Browser
Labels: -Needs-Bisect
Unable to reproduce the issue on Win-7 using latest canary #67.0.3371.0 as per comment #12.

Observed that visible text from cmd.exe did not get paste with unexpected file listing chunks.
As the issue is not reproducible from TE-end. Hence, removing the Needs-Bisect label and requesting someone from UI>Browser team to please help us in looking into the issue.

Thanks...!!
Cc: sindhu.chelamcherla@chromium.org
Labels: Needs-Feedback
This issue looks similar to  issue 821690  which is fixed in latest canary 67.0.3375.0.

@Reporter: Could you please confirm whether issue you are seeing is fixed on latest canary or not? This would help in closing of the issue.

Thanks!
Yes, this is fixed in  67.0.3375.0
Tank you!
Project Member

Comment 17 by sheriffbot@chromium.org, Mar 19 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Mergedinto: 821690
Status: Duplicate (was: Unconfirmed)
As per comment#16 this issue is same as  issue 821690 . Hence merging into it. Please change if not the case.

Thanks!

Sign in to add a comment