Closed
Bug 409375
Opened 17 years ago
Closed 16 years ago
English text runs reversed when setting plaintext mail message to RTL direction
Categories
(Core :: Layout: Text and Fonts, defect, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: eyalroz1, Assigned: smontagu)
References
()
Details
(Keywords: regression, rtl, testcase)
Attachments
(3 files, 2 obsolete files)
40.82 KB,
image/png
|
Details | |
502 bytes,
application/octet-stream
|
Details | |
5.96 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
Using SM trunk with BiDi Mail UI 0.8 (which does _not_ reverse text runs, it only sets the direction and encoding, and in this case does not set iso-8859). I've noticed in recent weeks (after the period in which bug 387564 meant crashes when setting RTL, i.e. the period between 2007-10-19 and 2007-12-06) that for some plain text messages with both English and Hebrew text, setting the direction to RTL reverses the English text, i.e. TXET WERBEH English text blah blah (which is the ok way to see this text in LTR) becomes TXET WERBEH halb halb txet hsilgnE instead of TXET WERBEH English text blah blah changing back to LTR, the problem goes away.
Reporter | ||
Updated•17 years ago
|
Whiteboard: dupeme
Updated•17 years ago
|
Severity: normal → major
Flags: blocking1.9?
Comment 1•17 years ago
|
||
FYI, I couldn't reproduce this on data:text/plain,English ועברית after Switch Page Direction (utf-8 encoding).
Reporter | ||
Comment 2•17 years ago
|
||
Reporter | ||
Comment 3•17 years ago
|
||
Reproduction instructions: - Create a new profile - Start Seamonkey with the new profile - Install BiDi Mail UI 0.8 from http://downloads.mozdev.org/bidiui/latest/bidimailui_suite.xpi - Exit Seamonkey - Put the mbox file in attachment 294259 [details] in the new profile's Local Folders directory - Start Seamonkey - Get yourself into mailnews somehow (why cant I skip creating an account? :-( ...) - Open the message in the folder you've added That should do it.
Reporter | ||
Comment 4•17 years ago
|
||
Oh, note of course that the first line of LTR text in the message doesn't get reversed, while the second line does.
Comment 5•17 years ago
|
||
I can reproduce this in Firefox using data:text/plain,%0aEnglish%0a%0a (with bisi.browser.ui on, using "Switch Page Direction").
Comment 6•17 years ago
|
||
The testcase worked correctly until 2007-08-15. Starting at 2007-08-16 (probably due to the checkin for bug 385270), it crashed, until 2007-09-27. Since 2007-09-28 (probably bug 393906), it no longer crashes, but reverses the text as described in the summary.
Keywords: regression,
testcase
Comment 7•17 years ago
|
||
(In reply to comment #6) > Starting at 2007-08-16 > (probably due to the checkin for bug 385270), it crashed, until 2007-09-27. This crash was reported as bug 394820.
Assignee | ||
Comment 8•17 years ago
|
||
This is really a correction to the patch for bug 406675. That didn't take into account that |frame| before entering EnsureBidiContinuation isn't always the frame which the continuation frame will be created from. This patch fixes this bug, but it has effects on bug 409513 which I haven't fully analysed, and it's probably better to fix both together.
Assignee: nobody → smontagu
Status: NEW → ASSIGNED
Flags: blocking1.9? → blocking1.9+
Priority: -- → P4
Updated•17 years ago
|
Priority: P4 → P1
Assignee | ||
Comment 10•16 years ago
|
||
This version removes the assertion in bug 409513 without causing any new ones.
Attachment #294538 -
Attachment is obsolete: true
Attachment #300163 -
Flags: superreview?(roc)
Attachment #300163 -
Flags: review?(roc)
Assignee | ||
Comment 11•16 years ago
|
||
Attachment #300163 -
Attachment is obsolete: true
Attachment #300163 -
Flags: superreview?(roc)
Attachment #300163 -
Flags: review?(roc)
Assignee | ||
Updated•16 years ago
|
Attachment #300194 -
Flags: superreview?(roc)
Attachment #300194 -
Flags: review?(roc)
Attachment #300194 -
Flags: superreview?(roc)
Attachment #300194 -
Flags: superreview+
Attachment #300194 -
Flags: review?(roc)
Attachment #300194 -
Flags: review+
Assignee | ||
Comment 12•16 years ago
|
||
Checked in with reftest based on comment 5
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Comment 13•16 years ago
|
||
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: layout.bidi → layout.fonts-and-text
You need to log in
before you can comment on or make changes to this bug.
Description
•