[Libreoffice-bugs] [Bug 41191] New: HOME/END keys ignore cursor control option in RTL docs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Sep 25 21:20:14 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=41191
Summary: HOME/END keys ignore cursor control option in RTL docs
Product: LibreOffice
Version: LibO 3.4.3 release
Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: Writer
AssignedTo: libreoffice-bugs at lists.freedesktop.org
ReportedBy: ted.hopp at gmail.com
In a right-to-left document with cursor control movement set to logical,
the HOME and END keys move the cursor to the visual start and end of the line,
even when those positions are not the logical start and/or end of the text.
To illustrate, consider a one-line document with logical text of "LRL" (each L
means some left-to-right characters; R means right-to-left characters). The
left arrow key will move the insertion point forward in the logical text (as
expected for right-to-left text) and stop when it reaches the logical end.
Visually, the cursor will not be at the (left) end of the line, but instead
will have this visual appearance (cursor shown as "|"):
L|RL
The END key, however, always leaves the cursor at the visual end of the line:
|LRL
This is a problem, because I would expect that pressing the END key and then
typing something would insert at the (logical) end of the text. However, the
logical insertion point in this case would be after the R part of the text.
Again, a similar thing happens at the start of text. HOME always brings the
cursor to the right margin, whether or not it is the logical start of the text.
I hope this is a bug (the HOME and END keys not respecting the cursor movement
option). If it's by design, I'd consider it a very poor design decision and
would appreciate someone explaining the rationale.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list