BiDi: If the caret is at the end of an RTL line, pressing Ctrl+LeftArrow moves it to the first LTR word in the next line (skipping any RTL words in between)

VERIFIED FIXED in mozilla1.8beta4

Status

()

defect
--
major
VERIFIED FIXED
14 years ago
11 years ago

People

(Reporter: bugzillamozilla, Assigned: uriber)

Tracking

({rtl})

Trunk
mozilla1.8beta4
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

14 years ago
1. Open https://bugzilla.mozilla.org/attachment.cgi?id=188105
2. In the RTL textarea, put the caret at the beginning of the fourth word
(before the last Hebrew word in the first line)
3. Press Ctrl+LeftArrow twice.

Actual Result:
The caret skips all the Hebrew words that follow, and is placed at the end of
the sixth word. In this case, it is impossible to use Ctrl+Arrow keys to move
the caret to the beginning of the second line.

Expected result:
The caret should move to the beginning of the fifth word (beginning of the
second line)

This bug is a bit different in the LTR textarea - even without any RTL
characters/words in the text, the caret always skips the fifth word. I'm not
sure if this is BiDi-related. Needs more investigation.

Tested with: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2)
Gecko/20050702 Firefox/1.0+

First reported in Bug 207186, comment #15

Prog.
Reporter

Comment 1

14 years ago
Instead of step #2 and #3, you can just put the caret at the end of the first
line  (e.g. by pressing End) and then press Ctrl+LeftArrow once. The result is
the same.

Prog.
Assignee

Comment 2

14 years ago
This is almost the same as bug 288789, and is fixed by my patch for that bug. 
Status: NEW → ASSIGNED
Depends on: 288789
Assignee

Comment 3

14 years ago
Fixed by the patch to bug 288789. Verified using an hourly build from after the
patch was applied.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter

Updated

14 years ago
Status: RESOLVED → VERIFIED
Assignee

Updated

14 years ago
Target Milestone: --- → mozilla1.8beta4

Comment 4

11 years ago
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl

Updated

11 years ago
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.