Comment 54 for bug 1085

Revision history for this message
In , Jorgk-bmo (jorgk-bmo) wrote :

(In reply to Thomas D. (currently busy elsewhere; needinfo?me) from comment #45)
> Definitely yes. 17 votes, 8 duplicates across many years. And it's just a
> freaking annoyance if any relevant text content which is right in front of
> me cannot be copied and reused for other purposes. Email addresses clearly
> qualify as relevant text content. Subject is already copyable.

I've thought about this a little over lunch.

I don't think a "copy all headers" function is useful. I've just done it again and this is what I got on a message from the "dev-platform" mailing list.

subject: Re: Dan Stillman's concerns about Extension Signing
references: <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden>
newsgroups: mozilla.dev.platform
from: Gijs Kruitbosch <email address hidden>
to: <email address hidden>

OK, it can be sanitised down to:

Subject: Re: Dan Stillman's concerns about Extension Signing
Newsgroups: mozilla.dev.platform
From: Gijs Kruitbosch <email address hidden>
To: <email address hidden>

Which average user would want an indigestible block of headers? I think those headers are for geeks. The normal user wants to copy what he/she sees.

Since you can already copy the subject, in my opinion the following would be useful:

Fix the "Copy Email Address" function to copy *all* the text that one sees. Instead of copying
  <email address hidden>
it should copy the full header:
  Gijs Kruitbosch <email address hidden>

It's happened to me so many times that I wanted to copy someone's name (and e-mail address). It wouldn't have helped in the slightest to place a big chunk of data I didn't need onto the clipboard since I wanted to paste the name inline.

So should we close this bug here as "wontfix" and open another one to fix copying the e-mail address?
For the record, the function CopyEmailNewsAddress is here:
https://dxr.mozilla.org/comm-central/source/mail/base/content/msgHdrViewOverlay.js#1625