Bug 76988 - FORMATTING: Converting .VSD (Visio) to .SVG in LibreOffice results in corrupt/incorrectly displayed file
Summary: FORMATTING: Converting .VSD (Visio) to .SVG in LibreOffice results in corrupt...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.2.2.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:svg, filter:visio
Depends on:
Blocks: SVG-Save
  Show dependency treegraph
 
Reported: 2014-04-03 09:17 UTC by John Smith
Modified: 2018-12-06 14:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Visio 2013 file (82.81 KB, application/msvisio)
2014-04-03 09:17 UTC, John Smith
Details
Visio 2013 file screenshot in LibreOffice (352.30 KB, image/jpeg)
2014-04-03 09:18 UTC, John Smith
Details
Exported to SVG (Visio 2013 file) (745.28 KB, image/svg+xml)
2014-04-03 09:18 UTC, John Smith
Details
Exported to SVG file screenshot in LibreOffice (346.70 KB, image/jpeg)
2014-04-03 09:19 UTC, John Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2014-04-03 09:17:44 UTC
Created attachment 96831 [details]
Visio 2013 file

Exporting a Visio 2013 vsdx file to SVG format in Libre Office 4.2.2.1 results in a corrupt/incorrectly displayed file.

Steps to reproduce:

1.) Open Visio 2013 file 'zones.vsdx_visio2013.vsdx' in Libre Office 4.2.2.1
2.) Export Visio 2013 file to 'zones.svg_lo4-2-2-1.svg' in Libre Office 4.2.2.1
3.) Open file 'zones.svg_lo4-2-2-1.svg' in Libre Office 4.2.2.1

Results: Corrupted/wrong displayed file

Expected results: correctly displayed file
Comment 1 John Smith 2014-04-03 09:18:30 UTC
Created attachment 96832 [details]
Visio 2013 file screenshot in LibreOffice
Comment 2 John Smith 2014-04-03 09:18:55 UTC
Created attachment 96833 [details]
Exported to SVG (Visio 2013 file)
Comment 3 John Smith 2014-04-03 09:19:10 UTC
Created attachment 96834 [details]
Exported to SVG file screenshot in LibreOffice
Comment 4 immanuelg 2014-07-27 17:06:57 UTC
(In reply to comment #0)
> Created attachment 96831 [details]
> Visio 2013 file
> 
> Exporting a Visio 2013 vsdx file to SVG format in Libre Office 4.2.2.1
> results in a corrupt/incorrectly displayed file.
> 
> Steps to reproduce:
> 
> 1.) Open Visio 2013 file 'zones.vsdx_visio2013.vsdx' in Libre Office 4.2.2.1
> 2.) Export Visio 2013 file to 'zones.svg_lo4-2-2-1.svg' in Libre Office
> 4.2.2.1
> 3.) Open file 'zones.svg_lo4-2-2-1.svg' in Libre Office 4.2.2.1
> 
> Results: Corrupted/wrong displayed file
> 
> Expected results: correctly displayed file

TESTING
Linux Mint 17
LO 4.3.0.4

Following the steps above reproduces the bug.
The .vsdx file had a clean white background.
The exported .svg re-opened had black background and did not look the same.
Comment 5 Maarten Hoes 2015-02-02 09:22:24 UTC
I tried to reproduce this with:
'libo-master~2015-02-01_13.19.39_LibreOfficeDev_4.5.0.0.alpha0_Win_x86.msi' 
Build ID: 'bfceafa67ed1cc3e4e03f8f214a2716f57b2d1e7'.

This is nearly perfect (but not yet 100%) on master. 

The export from Visio to SVG seems to have worked 100%, when opening the resulting exported SVG in another application (I tried MS Internet Explorer 11 and Firefox 35.0.1) the resulting SVG appears exactly the same as the Visio original.

However, when opened and displayed in LibreOffice, the following issues are present in the displaying of the exported SVG file :

1.)
The text labels in the original Visio file are not displayed in the exported SVG file.

2.)
The drawing of the 'Internet cloud' is white-gray-transparant in the original Visio file, but displayed as filled black in the exported SVG file.
Comment 6 QA Administrators 2016-02-21 08:37:39 UTC Comment hidden (obsolete)
Comment 7 John Smith 2016-02-21 09:48:31 UTC
I reproduced the issue with LibreOffice: Version: 5.1.0.3 Build ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737

The export from Visio to SVG seems to have worked 100%, as when you open the resulting exported SVG file in another application (I tried MS Internet Explorer 11, Firefox 44.0.2 and Google Chrome Version 48.0.2564.116 m, on Windows 10 version 1511 build 10586.104) the resulting SVG appears exactly the same as the Visio original.

However, when opened and displayed in LibreOffice, the following issues are present in the displaying of the exported SVG file :

1.)
The text labels in the original Visio file ('Zone1', 'Zone2', 'Zone3', 'hostname') are not displayed in the exported SVG file.

2.)
The drawing of the 'Internet cloud' is white-gray-transparant in the original Visio file, but in the exported SVG file there are a few lines displayed instead of that.
Comment 8 John Smith 2016-11-21 09:29:53 UTC
I can reproduce this bug with LibreOffice 5.2.3.3, running on Windows 10 Home 64-bit (Version 1607 [OS Build 14393.447]).
Comment 9 QA Administrators 2017-11-22 15:41:30 UTC Comment hidden (obsolete)
Comment 10 Roman Kuznetsov 2018-12-06 14:48:34 UTC
result SVG in

Версия: 6.2.0.0.beta1
ID сборки: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; VCL: win; 
Локаль: ru-RU (ru_RU); UI-Language: ru-RU
Calc: threaded

looks good

Status->WFM