Closed
Bug 54090
Opened 24 years ago
Closed 23 years ago
Options|Rewrap doesn't work on the Mac
Categories
(MailNews Core :: Composition, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: nbaca, Assigned: Brade)
Details
Attachments
(1 file)
2.84 KB,
patch
|
Details | Diff | Splinter Review |
Build 2000-09-21-04M18: Mac 9.04 Overview: In plain text mode, select a message, select the Reply button, select Options|Rewrap and it just hangs on the Mac. On NT4 and Linux it behaves differently but these problems are reported in bug# 51799.
Reporter | ||
Comment 1•24 years ago
|
||
Setting to Major because the application should not hang/crash.
Severity: normal → major
Keywords: crash
QA Contact: esther → nbaca
Summary: Options|Rewrape hangs on the Mac → Options|Rewrap hangs on the Mac
Comment 2•24 years ago
|
||
I can reproduce this problem with the last build. Kind of annoying...
Status: NEW → ASSIGNED
OS: All
Target Milestone: --- → mozilla0.9
Comment 3•24 years ago
|
||
changing milestone to unknown. It will get changed back when we figure out what milestone to put this bug in.
Target Milestone: mozilla0.9 → ---
Updated•24 years ago
|
Updated•24 years ago
|
Comment 4•23 years ago
|
||
I don't see any hang or crash. However, rewrap doesn't seem to do anything on Mac!!!
Comment 5•23 years ago
|
||
reassign to akkana...
Assignee: ducarroz → akkana
Severity: major → normal
Status: ASSIGNED → NEW
Keywords: hang
OS: All → Mac System 9.x
Summary: Options|Rewrap hangs on the Mac → Options|Rewrap doesn't work on the Mac
Comment 6•23 years ago
|
||
It doesn't do anything for you? Did you have quoted text selected? It does rewrap for me, but it has a bug: it keeps the quote characters ("> ") even after wrapping, so > one > two will rewrap to > one > two I'll look at it.
Status: NEW → ASSIGNED
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Comment 7•23 years ago
|
||
Oh, I see. Rewrap first converts the selection (or the whole document, if selection is collapsed) to a string, then rewraps the string. But it doesn't specify newline type in the output flags used to generate the string, and default is platform specific. But then the rewrapping code was looking for dom newlines rather than all newline formats. I have a patch which explicitly specifies LF/DOM line breaks. In addition, I've added a check to make sure (in debug builds only) that there aren't any CRs there (because if there are, there's a bug somewhere else in the code and I need to know about it); and to default the wrap column to 72 if none is specified (because rewrapping to no wrap column makes no sense, and it's confusing to have it do nothing); and, finally, to set the RespectNewlines flag to true instead of false when Rewrap is called, because that seems more reasonable. This needs testing on a mac! My mac can't build right now, so I'll need some help from a mac person to test this. Maybe J-F, since it affects mail compose most, or maybe Simon, since he'll probably eventually be the one I'll ask for an sr on this code. It can be tested either in the plaintext editor (where rewrap is in the debug menu) or in plaintext mail compose.
Whiteboard: FIX IN HAND; needs mac testing
Comment 8•23 years ago
|
||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla0.9.1
Comment 10•23 years ago
|
||
Kathy noticed that in nsInternetCiter.cpp the PR_Unichar should be PRUnichar, and her review was naturally contingent upon that fix change. Simon, when you get a chance, could you sr this bug? Thanks!
Whiteboard: FIX IN HAND → FIX IN HAND, needs sr
Comment 11•23 years ago
|
||
Passing to Kathy and cc'ing Kin. Kin sr'ed this, and I was hoping to check it in today before I left, but the tree is closed. Hope one of you can check it in for me. Thanks!
Assignee: akkana → brade
Status: ASSIGNED → NEW
Assignee | ||
Comment 12•23 years ago
|
||
fix checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: FIX IN HAND, needs sr
Reporter | ||
Comment 13•23 years ago
|
||
Build 2001-05-17-04: Mac 9.04 Verified Fixed. I replied to a message, type some text and selected Options|Rewrap and it does appear to allign the text better.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•