Closed Bug 262497 Opened 20 years ago Closed 20 years ago

Ctrl+Home and Ctrl+End problems (apparent with RTL)

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eyalroz1, Assigned: sspitzer)

References

Details

(Keywords: intl, rtl)

Pressing Ctrl+Home bring you to the top-left of the message, not the beginning
of it; pressing Ctrl+End bring you to the bottom-right of the message, not the
end of it. That means that if your message direction RTL instead of LTR,
Ctrl+Home and Ctrl+End do not bring you to the start and the end of the message,
respectively.
Keywords: intl
Problem code is at

http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsPresShell.cpp#324
6

it does not take BiDi into account. In fact, it is poor design. Instead of 
seeking to some desired set of (x,y) coordinates - and then using the click 
handler, aarrggh!! - the code should find the first element, in logical element 
order, within the frame, and position the cursor before it.

I think I'll open a separate bug.
Depends on: 263309
Blocks: caretnav
Product: MailNews → Core
IIRC, fixing 263309 automatically makes this go away. Someone please check this
with a trunk build from after the checking for 263309.
fixed by bug 263309 and bug 278197
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.