Attachment filename truncated - Thunderbird: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (update link to profile folder)
(updated for 8.0 release and related XBL changes)
Line 8: Line 8:
}
}
</pre>
</pre>
'''Notes:'''
* For Thunderbird 8.0 and later, change ".attachmentBox" to "attachmentitem" [http://forums.mozillazine.org/viewtopic.php?p=11439701#p11439701]. You may also need to apply the code to [[Thunderbird_6.0%2C_etc.#Attachment_pane_redesign:_Open_expanded|keep the attachment pane expanded]] to avoid that the item width is reset to the default.
* Expect further changes with Thunderbird 10.0, which introduces variable grid width depending on the largest attachment name.
==Related bugs==
* [https://bugzilla.mozilla.org/show_bug.cgi?id=654222 Bug 654222] &ndash; Attachment list should resize to fit long names
* [https://bugzilla.mozilla.org/show_bug.cgi?id=630759 Bug 630759] &ndash; Improve attachment list XBL bindings
* [https://bugzilla.mozilla.org/show_bug.cgi?id=697870 Bug 697870] &ndash; Establish a maximum width for overly long file names in the attachment pane


==External link==
==External link==

Revision as of 15:17, 9 November 2011

Thunderbird may truncate the attachment's filename when displaying it. You can prevent this by adding the following to the userChrome.css file in the chrome subdirectory in in your profile folder. The file does not exist by default, so you may need to create it before you can start adding your preferences.

.attachmentBox {
width: auto !important;
max-width: none !important;
min-width: 15em !important;
}

Notes:

  • For Thunderbird 8.0 and later, change ".attachmentBox" to "attachmentitem" [1]. You may also need to apply the code to keep the attachment pane expanded to avoid that the item width is reset to the default.
  • Expect further changes with Thunderbird 10.0, which introduces variable grid width depending on the largest attachment name.

Related bugs

  • Bug 654222 – Attachment list should resize to fit long names
  • Bug 630759 – Improve attachment list XBL bindings
  • Bug 697870 – Establish a maximum width for overly long file names in the attachment pane

External link


search keyword: abbreviated