Bug 129038 - Non-letter characters misaligned in bidi texts
Summary: Non-letter characters misaligned in bidi texts
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
 
Reported: 2019-11-26 11:26 UTC by travis82
Modified: 2020-04-06 15:13 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 travis82 2019-11-26 11:26:15 UTC
Description:
As I described here with pics: https://ask.libreoffice.org/en/question/216996/odd-behavior-in-typing-some-characters-in-bidi-texts/

The problem occurs when users try to put ltr phrases in rtl paragraphs or vice versa, if the boundary characters consists of non-letters characters, they receive the direction property of the underlying paragraph. This leads to misaligned characters in phrase. 

A temporary solution is creating a strong directionality barrier between the language sequences using Insert → Formatting mark → Left-to-right mark (this won't work in the first line of paragraph tough, why? I don't know)

Long-term solution treating non-letters characters as letters in LO. This is what Microsoft office does



Steps to Reproduce:
1. create a rtl paragraph and write something
2. change keyboard layout and write and ltr word that negins with $ (for expample)
3.

Actual Results:
$ will be misaligned and locates at the end of ltr word

Expected Results:
it should locate at the beginning of the word


Reproducible: Always


User Profile Reset: No



Additional Info:
s
Comment 1 Xisco Faulí 2019-11-28 12:09:10 UTC
You can't confirm your own bugs. Moving it back to UNCONFIRMED until someone
else confirms it.
Comment 2 Xisco Faulí 2020-04-06 15:13:48 UTC
Thank you for reporting the bug.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.