[Libreoffice-bugs] [Bug 141663] New: Punctuation issues with nested RTL sentences in a RTL paragraph
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 13 00:40:45 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=141663
Bug ID: 141663
Summary: Punctuation issues with nested RTL sentences in a RTL
paragraph
Product: LibreOffice
Version: 7.1.2.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: bright.email at gmail.com
Description:
When writing a sentence that is left-to-right (LTR) inside a right-to-left
(RTL) paragraph, any punctuation mark at the end of the LTR sentence jumps to
the beginning of that LTR sentence, instead of staying at the end of the LTR
sentence.
Steps to Reproduce:
1. Start a document and set it up for a right-to-left language, such as Persian
2. Switch the keyboard to Persian. Start writing a Persian paragraph. It must
be set right-to-left and right-aligned
3. In the same paragraph, switch the keyboard to English. Then write an English
word with an exclamation mark at the end (or any other punctuation mark)
Actual Results:
As soon as you type the punctuation mark at the end of the English sentence, it
jumps to the beginning of the English sentence (which is the end of the Persian
paragraph).
Expected Results:
The punctuation mark must stay at the end of the English sentence within the
Persian paragraph.
Reproducible: Always
User Profile Reset: No
Additional Info:
When you switch the keyboard from Persian to English, the behaviour of the
typesetter must follow the ways of that language, i.e. LTR. Then when the
keyboard is switched back from English to Persian, the behaviour of the
typesetter must go back to the RTL behaviour. This is the correct behaviour and
MS Word correctly does that. LO Writer does not do it correctly.
If you try the above-mentioned steps inside an MS Word document, you will see
the correct behaviour.
Here is a paragraph to use as an example (it is not showing as RTL on this
page, and the punctuation appears in the right location. Copy and paste it into
a new LO Writer document, set the paragraph to RTL and right-aligned, and see
what happens):
انگلیسی باستانها، از نظر گویش، بسیار متفاوت از انگلیسی امروزی است. برای نمونه،
واژههای light و drought، به ترتیب به صورت «لیخت» و «دراخت» تلفظ میشد یا جملهٔ
Will you give me your jacket, good man?، چنین ادا میشد: Wilt ðu sellan me ðin
clæð, godman min? در این دوره شماری واژه، از زبان لاتین، وارد انگلیسی شد که
واژگانی چون: altar, mass, priest, psalm, temple, kitchen, palm, pear,... از آن
جملهاند.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210413/e7ba4c5b/attachment.htm>
More information about the Libreoffice-bugs
mailing list