[Libreoffice-bugs] [Bug 32531] New: Incorrect cursor key movement between table cells of different directionality

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 20 20:13:14 CET 2010


https://bugs.freedesktop.org/show_bug.cgi?id=32531

           Summary: Incorrect cursor key movement between table cells of
                    different directionality
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: eyal at zvi.org


Created an attachment (id=41307)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=41307)
Demonstration of wrong cursor movement in RTL cell

When using the cursor keys to move to next/previous cell, the direction of
movement depends on the directionality of the cell (LTR = Left to Right, or RTL
= Right To Left).

For example, when a cell is defined to have LTR direction, and the user presses
the left arrow key, the cursor moves to the previous cell (to the left).

However, if a cell is set to RTL direction, and the uses presses the left arrow
key, the cursor moves to the next cell (to the right).

This is incorrect behavior and very confusing. The user expects the cursor keys
to behave logically - progress to the next cell relative to the direction of
the
 table, not to the next cell relative to the direction of text in the current
cell.

An example of how this behavior is very confusing:

A user creates a table in a Hebrew document. Hebrew is an RTL language and so
the direction of the document, and by default of the table, is RTL. The then
selects one of the columns and clicks the LTR tool-button, to make all cells in
the column have LTR text. This is because the column is intended for email
addresses, which are always in English.

The user then uses the left arrow key to move from the first (right-most)
column, to the next, then to the next, etc. Then the user reaches the email
column (which is LTR), and again presses the left arrow key.

The user expects the cursor to move to the next column - to the left, however
the cursor moves to the previous column! Repeated presses on the left arrow key
cause the cursor to remain "trapped" among the email column and the column that 
precedes it.

The solution: cursor movement between cells should depend on the direction of
the table, not the direction of the text in the current cell.

-- 
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