Open
Bug 1365642
Opened 8 years ago
Updated 2 years ago
Wrap long lines when printing messages when line is in a <pre> tag (enhancement)
Categories
(MailNews Core :: Printing, enhancement)
MailNews Core
Printing
Tracking
(Not tracked)
NEW
People
(Reporter: raal, Unassigned)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170504105526
Steps to reproduce:
When printing a message with LONG lines in Thunderbird, it does not wrap them. Instead it prints the text really small so as to try and fit the entire line on the page.
Can go into File->Page Setup, de-select "Shrink to fit page", and increase scale... then the font size increases, but loses even more text from the end of the line - as it still chops, not wraps.
Actual results:
small text
Expected results:
wrap
Updated•8 years ago
|
Attachment #8868639 -
Attachment mime type: message/rfc822 → text/plain
Comment 1•8 years ago
|
||
When viewing the attached e-mail, you can see very long lines which aren't wrapped, like:
2. bod 1 dodatku č. 2 (individuální písemná dohoda) - kontrolu vozu po 12M a 24M splním buďto přistavením ke kontrole v aaavě nebo jej zkontroluje zástupce RT v aaae, případně doložím jiný vhodný dokument, např. protokol z STK spolu s fotodokumentací - vnímáte tento bod takto?
That's because in the HTML of the message, the lines are included in a <pre> tag, that's preformatted. No wrapping takes place in this case and when printing, that is also the case.
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<pre>2. bod 1 dodatku =E8. 2 (individu=E1ln=ED p=EDsemn=E1 dohoda) - kontro=
lu vozu po 12M a 24M spln=EDm bu=EFto p=F8istaven=EDm ke kontrole v aaav=
=EC nebo jej zkontroluje z=E1stupce RT v aaae, p=F8=EDpadn=EC dolo=BE=EDm =
jin=FD vhodn=FD dokument, nap=F8. protokol z STK spolu s fotodokumentac=ED =
- vn=EDm=E1te tento bod takto?<o:p></o:p></pre>
</blockquote>
Sorry, but there's nothing we can do about that. You need to reformat the text before printing.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Summary: Not wrapping long lines when printing messages → Not wrapping long lines when printing messages when line is in a <pre> tag
Hello,
understand technical view, but from user perspective it's a problem. How can user reformat the text in his inbox? Copy and paste text to the word processor? For example MS Outlook can rewrap this message without problem. Thanks
Comment 4•8 years ago
|
||
Firefox doesn't wrap long lines in <pre> tags either when printing. TB uses Mozilla core printing technology, so there's nothing I can do. Sorry. I'll re-open the bug and make it an enhancement.
Updated•8 years ago
|
Severity: normal → enhancement
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INVALID → ---
Updated•8 years ago
|
Status: REOPENED → NEW
Updated•8 years ago
|
Summary: Not wrapping long lines when printing messages when line is in a <pre> tag → Wrap long lines when printing messages when line is in a <pre> tag (enhancement)
Component: Untriaged → Printing
Product: Thunderbird → MailNews Core
Version: 45 Branch → Trunk
Comment 5•7 years ago
|
||
At least in this case the print layout is arguably correct (albeit nonsensical) because sender set <pre>, so in a way there's sender's odd formatting to blame.
It's worse when we mess up the print layout with microscopic font print sizes for messages which are perfectly correct and "normal", like with big image attachments or long attachment names.
See also: Bug 777679, Bug 544950
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•