ctrl-C and right-click > copy on mail subject with extra whitespace do not copy the same contents to clipboard

NEW
Unassigned

Status

Thunderbird
Message Reader UI
--
minor
6 years ago
3 years ago

People

(Reporter: dcostebug, Unassigned)

Tracking

14 Branch

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

I received a mail with this exact subject: "1 2  3   4    end" (note the multiple spaces)
I see that the message display window replaces multiple spaces with one single space. It displays : "1 2 3 4 End"
Then I wanted to create a message filter from that subject.
So I selected the message subject in the window with the mouse.
Then, if I press Ctrl-C, the clipboard gets "1 2  3   4    end"
while if I right-click and select copy, the clipboard gets "1 2 3 4 End" which is not good to create the mail filter



Actual results:

Right-click+copy does not copy the actual mail subject but a version with multiple spaces replaced by single space


Expected results:

The 2 copy methods should provide the exact mail subject.
confirming. the method of copying shouldn't alter the content, but it does now.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: x86 → All
Summary: ctrl-C and right-click copy on mail subject do not copy the same contents to clipboard → ctrl-C and right-click > copy on mail subject with extra whitespace do not copy the same contents to clipboard
Is this a regression ? can we try to find when this regressed ?

Comment 3

4 years ago
Should Thunderbird be removing spaces from the subject line in the first place, e.g. if I intentionally send a subject line that says "Long   Space" should Thunderbird change the display to "Long Space"?

Perhaps the bug is in the way the subject line is displayed rather than how it's copied?

This nearly became an issue for me as we send out mailing campaigns and a colleague using Outlook noticed that there were two spaces in the subject line, but I denied it not realising that Thunderbird hides the spaces.
You need to log in before you can comment on or make changes to this bug.