Bug 67775

Summary: FILESAVE DOCX Incorrect lines connecting shapes
Product: LibreOffice Reporter: Vitaly Bevsky <delph1ct>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: ilmari.lauhakangas, jorendc, libreoffice, rb.henschel, stgohi-lobugs, xtr
Priority: medium Keywords: filter:docx
Version: 3.5.0 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 136406    
Attachments: archive
PDF export using 4.4.0.0 alpha from Oct 8
Stripped down file with only problematic connector
We have retested this problem and it seems to be fixed in version 6.1.2.
Example file minimized from original submission
The minimized example file in Word and its LO-saved version after reload

Description Vitaly Bevsky 2013-08-05 09:10:14 UTC
Created attachment 83650 [details]
archive

Incorrect lines connecting shapes. See screen
Comment 1 Jorendc 2013-08-05 09:27:07 UTC
Thanks for reporting. I can confirm this behavior, tested using Windows 8 with LibreOffice Version: 4.2.0.0.alpha0+ Build ID: 2382b8e8ec0ea65dc2a9ad1c401abe3be35a1487
TinderBox: Win-x86@6-debug, Branch:master, Time: 2013-08-02_23:15:16

Kind regards,
Joren
Comment 2 Vitaly Bevsky 2014-02-03 07:33:26 UTC
LO 4.2 hasn't this bug fix
Comment 3 Buovjaga 2014-10-08 11:14:10 UTC
Created attachment 107550 [details]
PDF export using 4.4.0.0 alpha from Oct 8

The wonkiness of the lines has improved quite a lot, same result with 4.3.2.2 and 4.4.0.0 dev build.
Comment 4 Buovjaga 2015-01-07 13:49:06 UTC
Lowered version number after reproducing with:

Ubuntu 14.10 64-bit
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 5 A (Andy) 2015-12-27 19:14:10 UTC
Reproducible with LO 5.1.0.1, Win 8.1
Comment 6 Telesto 2016-12-05 21:21:38 UTC
Reproducible with:
Version: 5.4.0.0.alpha0+
Build ID: 33f5bc54aaa7fe7aa9335726e30f9c349155e04d
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-12-01_23:21:05
Locale: nl-NL (nl_NL); Calc: CL
Comment 7 QA Administrators 2017-12-08 08:09:03 UTC Comment hidden (obsolete)
Comment 8 XTR 2017-12-11 04:27:17 UTC
Looks like there is some progress with bug fixing, but

On first opening test file - scheme looks good
But after resaving file to docx or doc and opening again - problem of same type still exists.

With:
Версия: 6.0.0.0.beta1 (x64)
ID сборки: 97471ab4eb4db4c487195658631696bb3238656c
Потоков ЦП: 2; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; 
Локаль: ru-RU (ru_RU); Calc: group threaded
Comment 9 Luke 2018-02-13 04:34:46 UTC
Created attachment 139851 [details]
Stripped down file with only problematic connector

Still reproducible in Version: 6.1.0.0.alpha0+ (x64)
Build ID: 3deac9691011711a3b9e50d19499c588af074d7f
Comment 10 NISZ LibreOffice Team 2018-11-26 09:42:06 UTC
Created attachment 147028 [details]
We have retested this problem and it seems to be fixed in version 6.1.2.
Comment 11 Buovjaga 2018-11-26 09:46:53 UTC
As the filesave problem still exists and this report is not too long, let's rename.

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: 51e6a95757906dff8b2819a4141bf3dc7938e95f
CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 24 November 2018
Comment 12 QA Administrators 2019-11-27 03:46:02 UTC Comment hidden (obsolete)
Comment 13 NISZ LibreOffice Team 2020-09-02 21:19:23 UTC
Created attachment 165056 [details]
Example file minimized from original submission

The original file containing a VML connector is still problematic when saved from Writer. 
The stripped down version had a DML shape, that works fine.
Comment 14 NISZ LibreOffice Team 2020-09-02 21:20:23 UTC
Created attachment 165057 [details]
The minimized example file in Word and its LO-saved version after reload
Comment 15 Gabor Kelemen (allotropia) 2022-05-30 22:21:41 UTC
Still a problem in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 7650d164a1e9c34ce99bf30bf4198e7ceb21fb5d
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

The VML of these shapes has o:connectortype="elbow" value and an adj value for v:shape tag originally, bug the saving by LO removes these entirely.
Comment 16 Regina Henschel 2023-11-15 20:33:33 UTC
The connectors should be OK after commit https://cgit.freedesktop.org/libreoffice/core/commit/?id=0430adb42bc38f037b907984e71c144d863796cb

Please try it with a daily build, that contains this commit, likely included in daily build from tomorrow.