Created attachment 69087 [details]
Mixed text test document
When mixing text from English (Latin) and Hebrew/Arabic (RTL languages) brackets aren't handled correctly, and the leading bracket isn't handled as part of the word. So during a word wrap the leading bracket stays in the line and the word itself and the closing bracket is wrapped to the next line.
This is true for both an Hebrew word in an English text and an English word in an Hebrew text.
The problem is solved if the paragraph directionality is changed to the opposite one.
See the attached document.
Still happens in 3.7/master
Confirmed: REPRODUCIBLE with Lior’s sample document and LibreOffice 22.214.171.124 or current master build (2012-10-27) on Mac OS X; so really a cross-platform issue.
Still happens in 126.96.36.199...
This is caused by brackets taking the paragraph direction and staying with the text of same direction when linebreaking.
I can confirm this bug.
It is still in 188.8.131.52
Build ID: 184.108.40.206 Arch Linux build-3
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present on a currently supported version of LibreOffice (220.127.116.11 or later)
If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to "inherited from OOo";
4b. If the bug was not present in 3.3 - add "regression" to keyword
Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa
Thank you for your help!
-- The LibreOffice QA Team This NEW Message was generated on: 2015-09-03
Bug still present on Build ID: 18.104.22.168 Arch Linux build-1.
Migrating Whiteboard tags to Keywords: (text:rtl)
*** Bug 65840 has been marked as a duplicate of this bug. ***
Created attachment 122889 [details]
doc before the modfication
Created attachment 122890 [details]
doc after the modfication
I add some changes in the code to solve this issue and now line breaking cut the word(character by character) in the different script depending on the
available space in the line instead of separating the bracket from the word.
I submit a patch in gerrit and attached two images of what I did so please review and give me your comments and ideas to solve the issue.
patch link: https://gerrit.libreoffice.org/#/c/22620/
Still happens in:
Build ID: 1:5.4.2-3~bpo9+1
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk2;
Locale: en-US (en_US.utf8); Calc: group
OS: Debian 64bit Stretch (Debian 9.2, with some backported packages)
Created attachment 137441 [details]
Bug 56408 still happens in version 5.4.2
paragraph 2 (Deleted the last English word before the brackets)
paragraph 5 (Hebrew text with an English word)
paragraph 6 (Deleted the last Hebrew word before the brackets)
I am not 100% sure this is actually a bug, beca
(Sorry for the messed-up comment before)
I am not 100% sure this is actually a bug, because parentheses are not strong-direction-indicating glyphs (I forget the exact Unicode term). So it may be the case that the paragraph is broken up into directional runs differently when it's LTR and when it's RTL, and that may account for the difference in behavior.
Lior, can you argue that the Unicode standard dictates behavior different than what LO does right now?
This is a bug, change in direction does not create line breaking opportunity.
There is even an easy way to check this with https://unicode.org/cldr/utility/breaks.jsp; copy the text there and choose Line in the drop down and it should show all possible line breaking opportunities.
Still happens in LibO Version: 22.214.171.124
*** Bug 120669 has been marked as a duplicate of this bug. ***
Still exists in Version: 126.96.36.199.alpha0+ (x64).