| Summary: | RTL: wrong direction when type numbers with slash | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | radwan hallak <rdwan.hlak> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | normal | CC: | rdwan.hlak |
| Priority: | medium | ||
| Version: | 6.1.0.0.beta1+ | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=123524 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 43808 | ||
| Attachments: | screenshot for the correct and wrong direction | ||
|
Description
radwan hallak
2018-06-13 06:50:22 UTC
Created attachment 142694 [details]
screenshot for the correct and wrong direction
I tested this bug in kubuntu linux 18.4 & kde neon. because that I change operating system from Windows to all That is the expected, by the spec, behavior of the slash characters with numbers. It might be unfortunate, but that what the Unicode Bidirectional Text algorithm mandates. MS Office is known to not follow the spec here. thank you khaled >>MS Office is known to not follow the spec here.
It is the right thing to do BTW.
(In reply to Fahad Al-Saidi from comment #5) > >>MS Office is known to not follow the spec here. > > It is the right thing to do BTW. The good thing about specs is that everyone follows them, otherwise copying text from another application (e.g. your web browser or text editor) is suddenly rendered differently. It is not that hard to type the date in the order you want, BTW: ١٢/٣/١٩٧٨ is no easier than ١٩٧٨/٣/١٢. (In reply to Khaled Hosny (inactive) from comment #3) > That is the expected, by the spec, behavior of the slash characters with > numbers. It might be unfortunate, but that what the Unicode Bidirectional > Text algorithm mandates. MS Office is known to not follow the spec here. What about when you just have a slash after a few digits with no other digits afterwards? i.e. the line is set to RTL, and let's say I even entered some strongly-RTL characters; then a space; then some digits; and now I type a slash. What does the UBA say about where that slash is supposed to appear? (In reply to Eyal Rozenberg from comment #7) > (In reply to Khaled Hosny (inactive) from comment #3) > > That is the expected, by the spec, behavior of the slash characters with > > numbers. It might be unfortunate, but that what the Unicode Bidirectional > > Text algorithm mandates. MS Office is known to not follow the spec here. > > What about when you just have a slash after a few digits with no other > digits afterwards? i.e. the line is set to RTL, and let's say I even entered > some strongly-RTL characters; then a space; then some digits; and now I type > a slash. What does the UBA say about where that slash is supposed to appear? You can try it yourself here https://unicode.org/cldr/utility/bidi.jsp. |