Open
Bug 116688
Opened 24 years ago
Updated 1 year ago
mail is always wrapped when reading plaintext-mails, regardless of settings in global config
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
NEW
People
(Reporter: juri, Unassigned)
References
Details
(Keywords: useless-UI)
Mails with long lines are always wrapped at window border regardless of the
setting "Wrap text to fit window width" in the global config dialog (Edit ->
Preferences -> Mail & Newsgroups -> Message Display). This happens in the
preview windows and also if the message is opened in a seperate window. The
mails in question are all plaintext mails.
Reporter | ||
Comment 1•24 years ago
|
||
I observed this behaviour also on Linux with an older release (0.9.6?).
Comment 2•23 years ago
|
||
I see the problem in Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a)
Gecko/20020610.
pi
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Comment 3•23 years ago
|
||
*** Bug 142827 has been marked as a duplicate of this bug. ***
Comment 4•23 years ago
|
||
*** Bug 163003 has been marked as a duplicate of this bug. ***
Comment 5•23 years ago
|
||
dupe of bug 155219 it seems (which has patch). Yes ?
Comment 6•23 years ago
|
||
I think bug 155219 is about wrapping at mail writing time.
The problem i mentined is about reading of plaintext-mails.
Comment 7•22 years ago
|
||
Bug still present in Mozilla 1.2.1 on Linux (Redhat-8.1)
I'd like this to be considered as a higher priority than "minor". Some of our
users receive e-mailed reports which are plain-text, 200 chars wide, with data
in columns. If users have a high-resolution display, they can (as a
work-around) drop the font size down until the entire width is visible on the
screen. But users with lower-resolution displays don't have that ability.
They would like to use horizontal scrolling to see the columns they are
interested in. Although there are work-arounds, they are inconvenient and clumsy.
Comment 8•22 years ago
|
||
i just tested it out on the new Mozilla 1.4final/Win.
The bug is still present in this latest release.
It is very annoying to view plaintext-logfile-emails containing long lines with
linewrapping...
i hope someone will fix this (i think very small) problem.
I hope in upcoming thunderbird this bug will not be implemented :-)
Comment 9•22 years ago
|
||
*** Bug 220557 has been marked as a duplicate of this bug. ***
Comment 10•22 years ago
|
||
Note that bug 155219, mentioned above in comment 5 & 6, was marked invalid.
As noted in the dupe, I am unable to see any effect on wrapping (as opposed to
scrollbar) in either message windows or compose windows, with any of these
preferences:
mail.compose.wrap_to_window_length default: false
mail.wrap_long_lines default: true <- in Preferences UI
news.wrap_long_lines default: true
However, view_source.wrap_long_lines does work as expected.
Scrollbars do appear in the compose window if a quoted line is wider than the
window; same for the message display window if the quoted lines are not encoded
with format=flowed
Updated•21 years ago
|
Product: Browser → Seamonkey
Comment 11•21 years ago
|
||
*** Bug 262467 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Assignee: sspitzer → mail
Comment 12•19 years ago
|
||
I did a little digging into the source, and found the reason for this,
currently at:
http://lxr.mozilla.org/mailnews/source/mailnews/mime/src/mimetpla.cpp#206
The test of |obj->options->wrap_long_lines_p| is where the pref's value is
being checked. Altho the <div> does in fact get the 'wrap=false' when this
pref is turned off, the text of the message is contained within a nested <pre> block -- and as seen at the end, that <pre> block has a 'wrap' attribute, which (by a rule in quirk.css) gets |white-space: -moz-pre-wrap| -- so the text does get wrapped after all.
The code is just wrong -- that |wrap| attribute on the <pre> should not be included if the pref is off, and the |wrap| attribute on the containing <div> should simply be removed, as it adds nothing either way. (I think, but am not sure, that the second addition of |<pre wrap>| (the |plainHTML| case) should
not have the |wrap| attribute either.)
However, a workaround is possible. Add this to userContent.css:
div[wrap=false] > pre[wrap] { white-space: pre !important; }
Incidentally, this works for news as well as mail, and the pref
|news.wrap_long_lines| has no references to it other than those setting the value in the file -- it's nothing but cruft.
Component: MailNews: Main Mail Window → MailNews: Backend
Product: Mozilla Application Suite → Core
Comment 13•19 years ago
|
||
(In reply to comment #10)
> As noted in the dupe, I am unable to see any effect on wrapping (as opposed
> to scrollbar) in either message windows or compose windows, with any of these
> preferences:
> mail.compose.wrap_to_window_length default: false
I'm not sure what went wrong with my testing here. The pref name quoted is incorrect; it should be mail.compose.wrap_to_window_width -- and that does have an effect on wrapping during composition, similar to setting the wrap column to 0; but see bug 233705.
> However, view_source.wrap_long_lines does work as expected.
Not in Thunderbird, however: bug 312478.
Updated•17 years ago
|
Assignee: mail → nobody
QA Contact: esther → backend
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Comment 14•15 years ago
|
||
This bug hasn't seen any activity for over 4 years now. Is this on anyone's radar at all? I just got bit by it and am frustrated that I have to use the userContent.css "all or nothing" approach.
Please provide a simple "wrap" toggle button when viewing email.
Comment 15•15 years ago
|
||
(In reply to comment #14)
> This bug hasn't seen any activity for over 4 years now. Is this on anyone's
> radar at all? I just got bit by it and am frustrated that I have to use the
> userContent.css "all or nothing" approach.
>
> Please provide a simple "wrap" toggle button when viewing email.
This almost certainly not on anyone's radar.
Anyway, the all-or-nothing result is exactly what this bug is calling for -- the pref doesn't work at all, and it should. A toggle button is a different issue; it would be an RFE, and unlikely to be implemented except as an extension. Such an extension would probably work either with the bug fixed or with the CSS.
Comment 16•15 years ago
|
||
(In reply to comment #14)
> Please provide a simple "wrap" toggle button when viewing email.
Actually, there was a check box to do this back when this bug report was created --FF 1.5 had it. It was taken out of the Preferences menu at some point when the user interface was simplified.
Whether check box or config setting, it should still work.
Updated•3 years ago
|
Severity: minor → S4
Comment 17•1 year ago
|
||
clarifying bug title based on comment #6
Keywords: useless-UI
Summary: mail is always wrapped, regardless of settings in global config → mail is always wrapped when reading plaintext-mails, regardless of settings in global config
You need to log in
before you can comment on or make changes to this bug.
Description
•