Consider the attached document. It has two paragraphs, each with an Arabic word (سقاية) followed by a manual line break, to ensure the single word is justified all the way to the end of the line; but the second paragraph has the English word "hi" first. So: سقاية hi سقاية You'll notice the Arabic word is justified using tatweel.... except that on the second line, instead of a "brush-stroke" for the tatweel, we get white space. I've repeated this "test" with a multi-word line: أنا أحب التطويل hi أنا أحب التطويل so as to clarify it's not an issue having to do with a single word being on the line. PS - The tatweel should be distributed much more uniformly IMHO but that's another issue.
Created attachment 176212 [details] A document with the bug manifesting This was created with: Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: c998691e22ceda15c89d55cf7005201f0392dadb CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-US (en_IL); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-10-14_11:54:20 ... which is also the system on which I observed the bug.
Linked to another similar issue.
Created attachment 176427 [details] A document with the bug manifesting Something in the previous attachment was off, and you couldn't see the bug manifesting.
Created attachment 176428 [details] PDF rendering of document PDF rendering of attachment 176427 [details], using LO 7.2.0.1 on Devuan GNU/Linux.
I confirm it with attached document and Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 2934472ab888ebfe64a153984af2902fac63a7a0 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Steps to reproduce 1. Open attachment 176427 [details] 2. Place cursor right from the first line 3. Type "hi" (O.K.) 4. type a space => bug becomes visible
https://git.libreoffice.org/core/+/3901e029bd39575f700e69a73818565d62226a23
I can see the difference in actual master, but can't assess, if this bug is resolved now. Eyal, please have a look at it.