Bug 67775 - FILESAVE DOCX Incorrect lines connecting shapes
Summary: FILESAVE DOCX Incorrect lines connecting shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Keywords: filter:docx
Depends on:
Blocks: VML-Shapes
  Show dependency treegraph
Reported: 2013-08-05 09:10 UTC by Vitaly Bevsky
Modified: 2023-11-15 20:33 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:

archive (87.70 KB, application/zip)
2013-08-05 09:10 UTC, Vitaly Bevsky
PDF export using alpha from Oct 8 (18.24 KB, application/pdf)
2014-10-08 11:14 UTC, Buovjaga
Stripped down file with only problematic connector (13.95 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-02-13 04:34 UTC, Luke
We have retested this problem and it seems to be fixed in version 6.1.2. (193.36 KB, image/png)
2018-11-26 09:42 UTC, NISZ LibreOffice Team
Example file minimized from original submission (11.72 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-09-02 21:19 UTC, NISZ LibreOffice Team
The minimized example file in Word and its LO-saved version after reload (71.16 KB, image/png)
2020-09-02 21:20 UTC, NISZ LibreOffice Team

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Bevsky 2013-08-05 09:10:14 UTC
Created attachment 83650 [details]

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: Build ID: 2382b8e8ec0ea65dc2a9ad1c401abe3be35a1487
TinderBox: Win-x86@6-debug, Branch:master, Time: 2013-08-02_23:15:16

Kind regards,
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 alpha from Oct 8

The wonkiness of the lines has improved quite a lot, same result with and 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, Win 8.1
Comment 6 Telesto 2016-12-05 21:21:38 UTC
Reproducible with:
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.

Версия: (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: (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
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: (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.