You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/10/10 13:56:09 UTC

[Bug 121193] New: Alt + Left/Right Arrows in RTL editing moves like in LTR

https://issues.apache.org/ooo/show_bug.cgi?id=121193

          Priority: P3
            Bug ID: 121193
          Assignee: ooo-issues@incubator.apache.org
           Summary: Alt + Left/Right Arrows in RTL editing moves like in
                    LTR
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: Mac OSX, all
          Reporter: tal.reads@gmail.com
          Hardware: Mac
            Status: UNCONFIRMED
           Version: AOO 3.4.1
         Component: editing
           Product: word processor

While editing a Hebrew/Arabic texts, Alt + Left/Right-arrows moves to the
previous/next word, but in Hebrew, the arrows behavior is reversed. 

Solution: 
Make sure Alt+Left/Right move in the direction the arrow requests. 
The same goes to Alt+Shift+Left/Right.
Just like in English, when you ask to Alt+Left to move to the word on your
left.


In other words: 
Alt+Right jumps left, instead of to the right (original intent is to jump to
the previous word location, meaning... right, in Hebrew/Arabic).
Alt+Shift+Right - same reversed behavior.
In the same way, Alt+Left and Alt+Shift+Left should jump to left, instead of to
the right.

This relates to the 92224 bug, which was initiated at 2008 and reported of
awkward keyboard shortcuts behavior on the Mac, but this is an annoying issue I
find rather annoying while editing RTL texts. I'm using build 9593 of
OpenOffice (3.4.1).

Just to be clear, I've checked other applications on the Mac, and this behavior
works fine in TextEdit, Mail, and Notes applications. This is an OpenOffice
issue.

Thanks,
Tal

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

--- Comment #7 from Tal <ta...@gmail.com> ---
Found out that on Windows cursor moves fine with modifier keys (Alt/Ctrl). 
This issue is only for the Mac, AFAIK.

Initial attempts to fix the code failed:
Tried to change editeng/source/editeng/impedit2.cxx, which seemed to most
promising candidate. changed MoveCursor function to call WordRight() instead of
WordLeft() on KEY_LEFT/KEY_RIGHT, but the final application wasn't affected by
this change.

Possible directions for checking: 

? check that GetLocale function works fine on Mac, since the code works
perfectly on Windows. 

? find a better code location that has an effect on text editing?

? check KeyEvent::LogicalTextDirectionality function (how?)

? May be related to sun's star text library previousWord/nextWord (same on
Mac/Win?)

Any further assistance would be appreciated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121193] Alt+Left/Right behaves the opposite while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Alt + Left/Right Arrows in  |Alt+Left/Right behaves the
                   |RTL is reversed.            |opposite while editing RTL
                   |                            |texts

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tal.reads@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121193] Alt + Left/Right Arrows in RTL is reversed.

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Alt + Left/Right Arrows in  |Alt + Left/Right Arrows in
                   |RTL editing moves like in   |RTL is reversed.
                   |LTR                         |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Alt+Left/Right behaves the  |Alt+Arrow &
                   |opposite while editing RTL  |Command/Ctrl+Arrow move
                   |texts                       |cursor in the opposite
                   |                            |direction, while editing
                   |                            |RTL texts

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.1.0-dev                   |3.4.1

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|3.4.1                       |4.0.0
    Confirmation on|                            |
            Version|4.0.0                       |3.4.1

--- Comment #3 from Tal <ta...@gmail.com> ---
Confirmed bug still exists in version 4.0.
Tested on a Hebrew text, Mac OS 10.6.8

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Issue 121193] Alt+Arrow & Cmd+Arrow move cursor in the opposite directions, in RTL text editing

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED
              Flags|4.1.0_release_blocker?      |4.1.0_release_blocker-

--- Comment #14 from jsc@apache.org ---
no showstopper, will be fixed on trunk asap

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

mroe <mr...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #11 from mroe <mr...@gmx.net> ---
I can confirm the described behaviour with OOo 3.3 and later, MacOS 10.8.2.

The issue doesn't occur under Linux/Ubuntu.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121193] Alt+Left/Right behaves the opposite while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor

--- Comment #1 from Tal <ta...@gmail.com> ---
I've found that Cmd+Right/Left Arrows works on MAC just as the Alt+Left/Right
Arrow should work. So I guess this is a bypass for all MAC users, which results
from Windows Ctrl+Right/Left Arrow behavior. However, MAC users are more used
to Alt+Arrows to move between words and adding the Shift to select words within
a sentence. Cmd+Arrows are used on MAC to go to the start/end of the line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121193] Alt+Left/Right behaves the opposite while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |AOO 3.4.1
    Confirmation on|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accessibility, Arabic,
                   |                            |Hebrew
           Priority|P3                          |P1
             Latest|4.0.0                       |4.1-dev
    Confirmation on|                            |
           Severity|minor                       |major

--- Comment #8 from Tal <ta...@gmail.com> ---
Moved to Internationalization > BIDI.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121193] Alt+Left/Right behaves the opposite while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |Arabic, BIDI, Hebrew

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pescetti@apache.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

4.1.0_release_blocker requested: [Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
Andrea Pescetti <pe...@apache.org> has asked  for 4.1.0_release_blocker:
Issue 121193: Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite
direction, while editing RTL texts
https://issues.apache.org/ooo/show_bug.cgi?id=121193


------- Additional Comments from Andrea Pescetti <pe...@apache.org>
Tal Daniel asked to raise this RTL bug as a stopper, see QA list. He doesn't
have the required privileges, so I'm nominating this bug on his behalf.

This seems to break the usability of CTRL-left and CTRL-right when editing RTL
text (including Hebrew). Honestly, since I don't use RTL functionality, I
cannot evaluate how annoying it is. No patches currently available (but some
technical analysis is in the issue). Sample docs attached to issue.

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

--- Comment #9 from Tal <ta...@gmail.com> ---
Reverted Version to 3.4.1; the 1st version I noticed this bug. Still evident in
4.1 dev snapshots.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 121193] Alt+Arrow & Cmd+Arrow move cursor in the opposite directions, in RTL text editing

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Alt+Arrow &                 |Alt+Arrow & Cmd+Arrow move
                   |Command/Ctrl+Arrow move     |cursor in the opposite
                   |cursor in the opposite      |directions, in RTL text
                   |direction, while editing    |editing
                   |RTL texts                   |

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

--- Comment #4 from Tal <ta...@gmail.com> ---
Relevant thread: 
https://discussions.apple.com/thread/3740630?start=0&tstart=0

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |usability

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |4.1.0_release_blocker?

--- Comment #10 from Andrea Pescetti <pe...@apache.org> ---
Tal Daniel asked to raise this RTL bug as a stopper, see QA list. He doesn't
have the required privileges, so I'm nominating this bug on his behalf.

This seems to break the usability of CTRL-left and CTRL-right when editing RTL
text (including Hebrew). Honestly, since I don't use RTL functionality, I
cannot evaluate how annoying it is. No patches currently available (but some
technical analysis is in the issue). Sample docs attached to issue.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121193] Alt+Left/Right behaves the opposite while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.4.1                       |4.0.0

--- Comment #2 from Tal <ta...@gmail.com> ---
Bug is persistent in version 4.0 too now (opened bug in version 3.4). 

Current description of the bug: 
On Mac, while editing text in Writer, Alt+Right arrow moves left one word,
instead of moving right. Command+Right-arrow moves the opposite way to, to the
left, instead of to the right.

Please fix, or let me know how can I solve this annoying bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|editing                     |BiDi
            Version|3.4.1                       |4.1.0-dev
            Product|Writer                      |Internationalization

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

--- Comment #6 from Tal <ta...@gmail.com> ---
Created attachment 81587
  --> https://issues.apache.org/ooo/attachment.cgi?id=81587&action=edit
Hebrew sentence, for example, with instructions to recreate bug

The document demonstrates the reversed behavior of Alt(Option)+Arrows command,
as well as Command+Arrow command, on the Mac.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

4.1.0_release_blocker denied: [Issue 121193] Alt+Arrow & Cmd+Arrow move cursor in the opposite directions, in RTL text editing

Posted by bu...@apache.org.
jsc@apache.org has denied Andrea Pescetti <pe...@apache.org>'s request for
4.1.0_release_blocker:
Issue 121193: Alt+Arrow & Cmd+Arrow move cursor in the opposite directions, in
RTL text editing
https://issues.apache.org/ooo/show_bug.cgi?id=121193


------- Additional Comments from jsc@apache.org
no showstopper, will be fixed on trunk asap

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsc@apache.org

--- Comment #12 from jsc@apache.org ---
it is no regression and it exists for some time, I agree that we should fix
this asap but I am not sure if it is really a showstopper.

Anyway we will analyze it and will decide later.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

--- Comment #13 from jsc@apache.org ---
it is definitely an annoying issue for user of the RTL feature but we should
keep in mind that Hebrew is new and came in late after the translation
deadline. I am in favor to move on with the release and use the Hebrew version
for a deep analysis and test how well we work for such languages in general. We
can fix it asap on trunk together with more expected issues ... But I don't
think that we should stop the release for this.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

--- Comment #5 from Oliver-Rainer Wittmann <or...@apache.org> ---
@Tal: Could you provide a sample file containing Hebrew/Arabic text? This would
make it easier for others to reproduce the defect and later on to verify the
fix. Thanks in advance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121193] Alt+Arrow & Command/Ctrl+Arrow move cursor in the opposite direction, while editing RTL texts

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121193

Tal <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|Arabic, Hebrew, usability   |

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.