Issue 34309 - Numbers in Arabic are reversed at the beginning of a line
Summary: Numbers in Arabic are reversed at the beginning of a line
Status: REOPENED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOO320m18
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL: http://wiki.arabeyes.org/OpenBugs
Keywords:
Depends on:
Blocks: 79434
  Show dependency tree
 
Reported: 2004-09-17 17:42 UTC by munzirtaha
Modified: 2013-11-15 04:21 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The first blue underlined numerals sequence is correct, the second is not. (18.48 KB, image/png)
2004-09-19 00:29 UTC, munzirtaha
no flags Details
Examples of wrong and right numbering for right-too-left languages... (47.13 KB, image/jpeg)
2010-07-25 11:39 UTC, ali_kacst
no flags Details
Arabic numbering problem (10.02 KB, application/vnd.oasis.opendocument.text)
2013-11-15 04:21 UTC, Ahmed
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description munzirtaha 2004-09-17 17:42:45 UTC
When I type ARABIC 1-2 ARABIC, it displays as 
ARABIC 2-1 ARABIC 
which is true but when 1-2 or any outline numbers come in the beginning of the 
paragraph it displays as 
ARABIC 1-2 ARABIC 
which is clearly wrong.
Comment 1 munzirtaha 2004-09-17 18:10:09 UTC
Oops! I meant to say 
... outline numbers come at the beginning of the paragraph it displays as  
ARABIC 1-2 
instead of 
ARABIC 2-1 
(for section one subsection 2) 
Comment 2 pavel 2004-09-17 22:46:27 UTC
please attach screenshots.
Comment 3 munzirtaha 2004-09-19 00:29:44 UTC
Created attachment 17788 [details]
The first blue underlined numerals sequence is correct, the second is not.
Comment 4 pavel 2004-09-19 09:39:37 UTC
OK, thanks - reassigning to WordProcessor component for review.
Comment 5 michael.ruess 2004-10-12 15:55:34 UTC
reassigned to SBA.
Comment 6 stefan.baltzer 2006-05-12 14:59:20 UTC
SBA: Looks OK in OOo 2.03 candidate (dev build 680m167). 
Please note that you have to set the correcr character attribute (Language
Arabic for CTL) To get this working correctly. 
Set to Worksforme. 
Please comment.
Comment 7 stefan.baltzer 2006-06-12 15:21:25 UTC
SBA: Closed.
Comment 8 munzirtaha 2006-08-23 09:01:37 UTC
I just retested with 2.0.2-2ubuntu12.1 in my ubuntu system with CTL set to
Arabic (Saudi Arabia) and the issue is still there. However, I may be wrong in
counting it as a bug since I am not expert in unicode algorithm so let me
clarify more.

Typing an Arabic number, then space, then an Arabic number, then an Arabic word
is OK but
Typing an Arabic number, then hypen, then an Arabic number, then an Arabic word
gives a different order for the numbers, shouldn't they be the same? Isn't both
the hyphen and the space weak characters?

Compare قارن

1 2 عربي
1-2 عربي

In Firefox the have the same order wich what I think is correct. In OO.o they
one with the hypen have what I think is the wrong order. It's worth noting that
kedit and gedit also work like OO.o. So, what application is doing it properly?
Firefox or the other gang? ;)


Comment 9 frank.meies 2007-07-12 16:01:56 UTC
fme->munzirtaha: Of course OOo does it right ;-) To be honest, I didn't check
your test case against the official rules
(http://www.unicode.org/unicode/reports/tr9/) but I'm pretty confident that the
icu implementation of the UBA (which is used by OOo) is correct.
Comment 10 stefan.baltzer 2007-07-16 15:23:43 UTC
SBA: Closing issue.
Comment 11 ali_kacst 2010-07-25 11:39:05 UTC
Created attachment 70808 [details]
Examples of wrong and right numbering for right-too-left languages...
Comment 12 ali_kacst 2010-07-25 11:39:35 UTC
This issue should not be closed, the problem with inverted sub-numbering for
right-to-left languages is still there, and manually numbering headeings is
really annoying, especially if you insert a heading between two headings you'll
have to re-number all following headings which is a waste of time.

I attached an example screenshot showing the current wrong numbering, and right
way of numbering...
Comment 13 ali_kacst 2010-07-25 11:52:28 UTC
Sorry for the typos...

Just clarifying what i meant by sub-numbering:

if you choose right-to-left typing, then choose format > bullets and numbering,
and then choose numeric with all sublevels (ex: 1, 1.1, 1.1.1).

After that demote one level (increase indentation), it will be numbered (1.1),
type anything and then press enter. the next line will be wrongly numbered (1.2)
where it should be (2.1).
Comment 14 munzirtaha 2010-07-25 12:16:44 UTC
You are right Ali, the bug is very clear. I will reopen the bug
Comment 15 Joost Andrae 2010-07-26 08:55:11 UTC
ja->fme:please take a look at the latest comment
Comment 16 Ahmed 2013-11-15 04:21:32 UTC
Created attachment 81925 [details]
Arabic numbering problem

I replicated this issue (you can find it in attached file)


I'm using operating system: windows 7
oo version: AOO401m5(Build:9714)  -  Rev. 1524958
writer application.

i added many levels to let you see the problem.