Bug 104772 - Arabic (or RTL) support needs various improvements
Summary: Arabic (or RTL) support needs various improvements
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-19 07:14 UTC by Mohammad Alhobayyeb
Modified: 2016-12-19 08:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammad Alhobayyeb 2016-12-19 07:14:41 UTC
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
Comment 1 Buovjaga 2016-12-19 08:13:12 UTC
Thank you for caring about the RTL support, but:
- you have to first check the existing reports: https://bugs.documentfoundation.org/showdependencytree.cgi?id=43808&hide_resolved=1
- then create separate reports *for each and every issue* that is not yet reported
- copy the information from Help - About into your description of the issue

You cannot have multiple issues per report.

Thank you for understanding, I will close this now.
Comment 2 ⁨خالد حسني⁩ 2016-12-19 08:42:45 UTC
What Buovjaga said, some of these issues are already reported and some are even fixed, but it is hard to deal with a report that lumps everything together.
Comment 3 Buovjaga 2016-12-19 08:46:37 UTC
Oh yeah, I should have included the link so that it shows fixed issues as well: https://bugs.documentfoundation.org/showdependencytree.cgi?id=43808&hide_resolved=0