Open Bug 204064 Opened 22 years ago Updated 2 years ago

When rewrapping a quoted word longer than the wrap width, blank quoted lines are added

Categories

(MailNews Core :: Composition, defect)

defect

Tracking

(Not tracked)

People

(Reporter: smjg, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030428 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030428 When an extremely long word or URL (longer than the word wrapping width) occurs at the end of a quoted paragraph, and the Rewrap command is issued, a line consisting only of greater-than signs is inserted immediately after the long word. Reproducible: Always Steps to Reproduce: 1. Have word wrapping width less than 104 (as you probably have already). 2. Start a new mail/news message. 3. Copy and paste the snippet below: > http://bugzilla.mozilla.org/buglist.cgi?query_format=&short_desc_type=allwordssubstr&short_desc=rewrap abc 4. Issue the Rewrap command. 5. Delete the hard line breaks between > and URL. 6. Rewrap again. 7. Continue rewrapping. Actual Results: 3. Line initially wrapped only between > and URL (expected). 4. Blank line inserted between > and URL. This only seems to happen if the > is at the very beginning of the message, otherwise a mere hard line break is created if it wasn't already there. 5. "> http://"... becomes one line (expected). 6. URL turns blue, blue "> " put on blank line before "abc". 7. Each time, an extra blank quoted line is added. The same happens if the unquoted text (or a line quoted at a different level) is immediately after the URL line without a blank line in between, but not in this case if the second line is quoted at the same level. Expected Results: From step 6 in this testcase, Rewrap should do nothing more than convert the text to blue, without adding any lines or quoting characters.
Blocks: rewrap
I have replicated this with Mozilla 1.5RC1 and 1.6a-1003, Windows 2000, and I could not find a dupe; confirming and updating platform. At step 4 in the problem description, repeating the Rewrap command inserts more and more blanks between the opening > and the URL line. This happens regardless of the line length. It also happens if the start of the composition is structured as: > > any text goes here The inserted blank lines go between the two lines; both lines are converted to quotes the first time, and in this case, all the inserted lines are of the quote type (typing on those lines displays blue), but not prefixed with the '>'. This appears similar to bug 144998; it will be interesting to see if the patch currently in progress for that bug also addresses this one, but I would guess not -- Rewrap behaves differently than quote in other contexts as well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: MacOS X → All
Hardware: Macintosh → All
Product: MailNews → Core
Assignee: ducarroz → nobody
QA Contact: esther → composition
Product: Core → MailNews Core
Still there with TB3.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Marking the bug as a duplicate was wrong. The other bug has basically no info relative to this behavior; instead behavior for that bug used to be similar to bug 191881, but now it is the same as this one. Some of the testcases in bug 362192 do not show the behavior of adding blank quoted lines. Instead, the one in comment 1 here still exhibits it.
Undupe because I'm wrong
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → NEW
This might be the same as https://bugzilla.opensuse.org/show_bug.cgi?id=923402 which is pretty annoying when using enigmail
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.