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

Issue 673562 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Pasting a long line from the Terminal into Gmail changes the text spacing for the rest of the composed mail

Project Member Reported by kbr@chromium.org, Dec 13 2016

Issue description

Chrome Version: 57.0.2937.0 (Official Build) canary (64-bit)
OS: macOS 10.11.6

What steps will reproduce the problem?
(1) Compose an email in Gmail
(2) Copy a line of text from the Terminal and paste it into the email
(3) Continue typing

What is the expected result?

Expect the mail to continue to be single-spaced.


What happens instead?

The spacing is altered irrevocably and seems to be double-spaced afterwards.

I think this is a bug in Chrome's editing code. It doesn't happen in Firefox. It also regressed somewhat recently, but still a while back -- I expect a couple of months (haven't done a bisect).

 

Comment 1 by kbr@chromium.org, Dec 13 2016

Labels: -Pri-2 Pri-3
Summary: Pasting a long line from the Terminal into Gmail changes the text spacing for the rest of the composed mail (was: Pasting text from the Terminal into Gmail changes the text spacing for the rest of the composed mail)
Sorry, a clarification based on more testing. This happens when a long line which causes wraparound in the Terminal is pasted into a Gmail message.

It can be worked around by selecting all of the text and clicking the "Tx" button to remove all text formatting.

I'd assume the Terminal's text is unstyled and that it shouldn't be necessary to use "Paste and match style" when pasting from it.

While I think this is a somewhat recent regression, it's happening in Chrome Stable ( at least 54.0.2840.98 (Official Build) (64-bit)) so maybe I'm misremembering.

Labels: Needs-Feedback
Status: Unconfirmed (was: Untriaged)
I don't repro on macOS 10.12.2.
Do you have specific text to paste?

Comment 3 by kbr@chromium.org, Jan 13 2017

Sure, here's a random line from my terminal:

ls content/test/gpu/gpu_tests/png_test_data.py.OBSOLETE content/test/gpu/gpu_tests/test_png.py.OBSOLETE content/test/gpu/gpu_tests/unity.py.OBSOLETE content/test/gpu/generate_buildbot_json.py.new

Actually, I just realized it happens even with a line that doesn't wrap around. It's probably related to the font used in the terminal. Just repro'd on 10.12.2. See screenshot.

Screen Shot 2017-01-12 at 9.29.24 PM.png
292 KB View Download
Labels: -Needs-Feedback Needs-Bisect
Cc: sureshkumari@chromium.org
Labels: Needs-Feedback
Tested the issue on Mac 10.12.2, windows-7 and Linux Ubuntu-14.04 using chrome stable version 55.0.2883.95 and canary 55.0.2883.95 with below steps.
1.Opened Chrome and Compose an email in Gmail
2.Copied the text from Terminal(given in comment#3) and pasted it into email and continued typing.
Not Observed double space in the text.
Please find the attached screen-cast and please let us know if anything missed here to reproduce the issue.

Thanks..
 

Mac-673562.mov
3.4 MB Download

Comment 6 by kbr@chromium.org, Jan 17 2017

What font is set in your Terminal on macOS? Mine is set to "Menlo Regular 11 pt." per the screenshot above. I think that's what's causing the double-spacing.

Project Member

Comment 7 by sheriffbot@chromium.org, Jan 25 2017

Labels: -Needs-Feedback Needs-Review
Owner: sureshkumari@chromium.org
Thank you for providing more feedback. Adding requester "sureshkumari@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Unconfirmed)
Labels: -Pri-3 -Needs-Review -Needs-Bisect -Type-Bug-Regression M-58 OS-Linux Pri-2 Type-Bug
Owner: ----
Able to reproduce the issue on Mac Retina 10.12.2 (Terminal font-"Menlo Regular 11 pt.")and Linux Ubuntu-14.04 using chrome stable version 56.0.2924.76 and canary 58.0.2997.0 with the steps mentioned above.
This is Non-regression issue, observed from M30 # 30.0.1549.0.
Note:In M30 observed the space in all lines.
From M40 to M56 observed the space in 1st and 3rd lines.
From M57 to M58 observed the space in all lines.
Issue not observed in windows-7 .

Thanks..

Comment 10 by kbr@chromium.org, Jan 30 2017

Labels: -Pri-2 Pri-3
Project Member

Comment 11 by sheriffbot@chromium.org, Feb 16 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 12 by yosin@chromium.org, Feb 19 2018

Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment