Closed Bug 236076 Opened 21 years ago Closed 20 years ago

Attachment name unecessarily truncated

Categories

(Thunderbird :: Mail Window Front End, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird0.9

People

(Reporter: mozilla, Assigned: mscott)

References

Details

Attachments

(4 files)

20040228 trunk When displaying a message, Thunderbird's attachment widget truncates attachment file names at 13 characters even though there is a mile of screen real estate left.
This thing has room for a small poem, and yet it's truncated.
It seems like we use the same method for both thunderbird and mozill-mail. In the latter, we really have to truncate as we do now. As reported here, in thunderbird, we have plenty of room.
Severity: normal → enhancement
OS: Windows XP → All
Hardware: PC → All
Another voice to say "me too". I receive a lot of long name attachment and this restriction is frustrating.
*** Bug 242965 has been marked as a duplicate of this bug. ***
The screenshot from bug 242965 shows another aspect of this bug
I would suggest to raise this bug as "security-critical" because the filename extension is also cut-off which makes it even easier for viruses to be clicked at. Definitely something that should NOT be the case with such a beautiful mailer as thunderbird!
(In reply to comment #6) > I would suggest to raise this bug as "security-critical" because the filename > extension is also cut-off which makes it even easier for viruses to be clicked > at. Definitely something that should NOT be the case with such a beautiful > mailer as thunderbird! This just happened to myself, though I usually pay much attention. Yet I was fooled : see the attached image. Without an antivirus, I would have catched W32.Sober.G ! To begin with, only the *central part* of the name should be abbreviated, something like "how to become a millionaire.eml.pif" -> "how to ...ml.pif". It would be safer, with *minimum* coding.
I'd be happy to work on this bug, if someone could point me in the right direction in the thunderbird source tree where the attachments are drawn/ellipisified. I've used XUL and know C/C++ very well.
see also bug #112162 scott, this is the bug you, lorenzo, benb and I were talking about at the last moz dev day.
Depends on: 112162
there must be some CSS style rule for middle abbreviation. I noticed that we can abbreviate newsgroup names in the middle in the folder pane just fine....
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.9
Can't we just make the attachment names be inside of flexible-width XUL boxes or something? Just so we can have the full name if it fits, and then truncate it if there isn't room.
Attached image Lots of attachments
See also this screen shot. Even if it is "necessary" to truncate attachment names, it could still be a security risk. I think it would be a good idea to have the full filename (within reason) and a scrollbar (pine and squirrelmail do it this way); otherwise mime digests end up looking like this.
Just wanting to add another voice to this. I'd love to see this fixed in Thunderbird, and the placement of the attachment pane moved to under the message body in Mozilla Mail. In Mozilla Mail, the attachment window causes the scroll bars to leave the screen if the "To" or "From" headers are too long. Isn't there a place in prefs.js or elsewhere that this could easily be modified?
I have a patch that removes the hard-coded limit on the width of the attachmentname in another bug...Bug 245331
this is really a dupe of Bug #245331 which I just checked in for David.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I wonder if we cannot reopen this bug, because the situation in Thunderbird 9a2 is still frustrating: we truncate name although most of the case, these are absolutely no necessity (see screen-shot).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: