Bug 122438 - FILEOPEN DOCX: Wrong position in text for RTL (right to left)
Summary: FILEOPEN DOCX: Wrong position in text for RTL (right to left)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL DOCX-Character
  Show dependency treegraph
 
Reported: 2019-01-03 05:18 UTC by seven
Modified: 2021-01-04 17:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Source for example (11.51 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-01-03 05:24 UTC, seven
Details
Example in word - correct (19.62 KB, image/png)
2019-01-03 05:25 UTC, seven
Details
Example in writer - not correct and need to fix (24.94 KB, image/png)
2019-01-03 05:27 UTC, seven
Details
attachment 20181218a (281.15 KB, image/png)
2019-01-08 07:39 UTC, Hiromi Kuramoto
Details
Screenshot (36.71 KB, image/jpeg)
2021-01-04 14:10 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description seven 2019-01-03 05:18:44 UTC
Description:
Text in writer show wrong position and it very bad for continue usage libreoffice 

Steps to Reproduce:
1. Open file in attachment in libreoffice and Microsoft office and compare.

Actual Results:
Libreoffice show text "&" in wrong position

Expected Results:
Show text "&" between two emails


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 seven 2019-01-03 05:24:22 UTC
Created attachment 147961 [details]
Source for example
Comment 2 seven 2019-01-03 05:25:36 UTC
Created attachment 147962 [details]
Example in word - correct
Comment 3 seven 2019-01-03 05:27:07 UTC
Created attachment 147963 [details]
Example in writer - not correct and need to fix
Comment 4 seven 2019-01-03 05:29:31 UTC
Also when will be fixed show text in correct position need to check save file and reopen in word
Comment 5 Dieter 2019-01-03 08:15:44 UTC
I can't confirm this with 

Version: 6.1.4.2 (x64)
Build-ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group threaded

or

Version: 6.3.0.0.alpha0+ (x64)
Build ID: ffa5b8a82eab18041bbee4d6914892b82c7801d3
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-12-19_03:24:54
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 6 seven 2019-01-03 20:18:36 UTC
It is may be depended from screen resolution. Please delete some count of "-" (dash) to make one email address on fist line and second email address on second line
Comment 7 Dieter 2019-01-03 21:57:33 UTC
If I delete the dashes, the second address moves to the first line - so I think, its not only the &, that is in the wrong position.

So I confirm it with

Version: 6.3.0.0.alpha0+ (x64)
Build ID: ffa5b8a82eab18041bbee4d6914892b82c7801d3
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-12-19_03:24:54
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 8 Hiromi Kuramoto 2019-01-08 07:39:17 UTC
Created attachment 148125 [details]
attachment 20181218a

I also confirmed it in macOS Sierra

reproduce in:
Version: 6.1.4.2
Build ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
CPU threads: 4; OS: Mac OS X 10.12.5; UI render: default; 
Locale: en-US (ja_JP.UTF-8); Calc: group threaded
Comment 9 Xisco Faulí 2019-01-16 18:43:15 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.15; Render: default; 

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 10 Dieter 2021-01-04 11:24:08 UTC
Tested again with

Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

"&" is now between two emails (same as in Word 2016)

=> RESOLVED WORKSFORME
Comment 11 Eyal Rozenberg 2021-01-04 13:54:40 UTC
I'm using v 7.0.4.2 , and am seeing the same behavior as @seven describes.

However - why is it the wrong behavior? The & is a neutral (if not an LTR) character, between two stretches of strongly-LTR characters. Shouldn't it be placed to the right of the first email?
Comment 12 Dieter 2021-01-04 14:10:21 UTC
Created attachment 168666 [details]
Screenshot

Screenshot in LO 7.0.4.2

Can't see a problem. I f I delete dashes '&' is behind the first mail-adress, if one mail-adress is in the first line and it is between the two adresses, if both are in the first line.
Comment 13 Xisco Faulí 2021-01-04 17:20:54 UTC
The issue is also fixed in

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded