Closed Bug 1261558 Opened 8 years ago Closed 8 years ago

All whitespace copied from composer is converted into a single space

Categories

(Thunderbird :: Message Compose Window, defect)

38 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1193153

People

(Reporter: mozilla.org, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160304114936

Steps to reproduce:

Compose a plain text email. Enter more than one whitespace character in a row, e.g. two spaces, three tabs, etc. The following string for example. Then select and copy the string, and paste it either in the same window or elsewhere.

Test Test  Test   Test    Test     Test       Test        Test         Test          Test.


Actual results:

All runs of tabs and spaces are converted into single spaces. So the above example renders like this:

Test Test Test Test Test Test Test Test Test Test Test.

This occurs in both the standard clipboard copy, and the X cutbuffer upon selecting the text.


Expected results:

Whitespace should be retained, and tabs in particular. However the only case in which tabs are retained is if only a single tab character is copied.
Fixed in TB 45. Due for release soon.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.