https://bugs.documentfoundation.org/show_bug.cgi?id=104772

            Bug ID: 104772
           Summary: Arabic (or RTL) support needs various improvements
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Localization
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: malhobay...@gmail.com

Description:
When writing Arabic various bugs/misbehaviors are noticed:
- Go To End of line:
-- Shortcut for English is: Command + Right Arrow
-- Shortcut for Arabic is: Command + Right Arrow
--- However, in Arabic (RTL-Langauges) it should be: Command + Left Arrow

- Go To Start of line:
-- Shortcut for English is: Command + Left Arrow
-- Shortcut for Arabic is: Command + Left Arrow
--- However, in Arabic (RTL-Langauges) it should be: Command + Right Arrow

- ًText, Spaces and Numbers:
-- In Arabic, when I write text followed by a space/spaces the space/spaces
appears at the beginning of the line. Example:
-- I want to write: "I am " it becomes " I am"
-- I want to write: "I am  " it becomes "  I am"
-- Notice the space move to the beginning of the line.
-- So, when I write anything after the space/spaces everything is corrected:
-- So, when I write "Mohammad" after "  I am" it becomes "I am  Mohammad" the
two spaces are now preserved between "am" and "Mohammad" and they are moved
from the beginning of the line to their correct position.
-- However, if I write a number instead of writing "Mohammad" a different story
happens.
-- I will write 10 after "  I am", it becomes "  I am10 years old" the
space/spaces stay at the beginning and the number is written after "am" without
any spaces.

Steps to Reproduce:
1.1. Switch language to Arabic (RTL)
1.2.1. Type any Arabic text, type spaces (paste this: "محمد ") without quotes
1.2.2. Type any Arabic text, type spaces, type number (paste this: "محمد 10
محمد") without quotes, or you can replace 10 with Arabic digits "١٠" without
quotes

2.1. Switch language to Arabic (RTL)
2.2. Type Arabic (Or English in RTL mode)
2.3. Use the shortcut to move cursor to end or start of line

Actual Results:  
Spaces positions are not preserved with and without digits after that.
To end and to start of line misbehave in Arabic (RTL) language.

Expected Results:
Spaces should preserve their position.
To end and to start of line in Arabic (RTL) should behave opposite than how
they behave now.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to