Bug 136564 - VSDX diagrams do not render/print all components
Summary: VSDX diagrams do not render/print all components
Status: RESOLVED FIXED
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libvisio (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Bartosz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Visio
  Show dependency treegraph
 
Reported: 2020-09-08 02:08 UTC by Nico
Modified: 2024-10-25 22:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
the native VSDX file that causes troubles (44.21 KB, application/vnd.visio2013)
2020-09-08 02:08 UTC, Nico
Details
output from soffice (195.62 KB, image/png)
2020-09-08 02:09 UTC, Nico
Details
Expected output (154.15 KB, image/png)
2020-09-08 02:10 UTC, Nico
Details
the generated pdf (23.62 KB, application/pdf)
2020-09-08 19:28 UTC, BogdanB
Details
Sample file exported with MS Visio to PDF (209.89 KB, application/pdf)
2024-09-28 16:18 UTC, Bartosz
Details
screenshot (34.30 KB, application/pdf)
2024-09-28 17:38 UTC, BogdanB
Details
Missing white background on text (22.62 KB, application/vnd.ms-visio.drawing.main+xml)
2024-09-28 19:35 UTC, Bartosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico 2020-09-08 02:08:23 UTC
Created attachment 165246 [details]
the native VSDX file that causes troubles

Description:
    - VSDX diagram components mostly renders but with a few blank components
    - Occurs with soffice conversion cli
    - Occurs also when opening in LibreOffice GUI

Tested on versions:
    - LibreOffice 5.4.3.2 40m0(Build:2) - Ubuntu
    - LibreOffice 7.0.0.3 8061b3e9204bef6b321a21033174034a5e2ea88e - Mac OS

Attachments:
    - process_flow.vsdx (the file that causes troubles)
    - bad_process_flow.png (screenshot from soffice output + added redlines)
    - expected_process_flow.png (expected output + added green lines)


How to replicate (cli):
    1. Download the attached file: process_flow.vsdx
    2. Run: `soffice -headless -convert-to pdf:writer_pdf_Export -outdir ./ ./process_flow.vsdx`
    3. Check the output file, you'll see missing components (blank)
Comment 1 Nico 2020-09-08 02:09:24 UTC
Created attachment 165247 [details]
output from soffice
Comment 2 Nico 2020-09-08 02:10:01 UTC
Created attachment 165248 [details]
Expected output
Comment 3 BogdanB 2020-09-08 19:28:11 UTC
Confirm with
Version: 7.1.0.0.alpha0+
Build ID: e2f4e65a7b8024c00b049eebf0d87637efda7f24
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 4 BogdanB 2020-09-08 19:28:48 UTC
Created attachment 165290 [details]
the generated pdf
Comment 5 Aron Budea 2021-08-09 04:23:06 UTC
Probably an issue in libvisio.
Comment 6 Bartosz 2024-09-28 16:18:22 UTC
Created attachment 196771 [details]
Sample file exported with MS Visio to PDF

It seems that the issue is no longer exists, as all texts are rendered in black now.
Comment 7 Bartosz 2024-09-28 16:20:04 UTC
The 
            <Cell N='QuickStyleFontColor' V='100'/>
is not implemented.
Comment 8 BogdanB 2024-09-28 17:38:29 UTC
Created attachment 196772 [details]
screenshot

This is how I see it in 
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

The same in
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 03467e12660a61c467e4947681e827435c3beaea
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

2 things are different:
- the background for some shapes 
- Yes/No text
Comment 9 Bartosz 2024-09-28 19:35:42 UTC
Created attachment 196773 [details]
Missing white background on text

On your sample I discovered missing white background on `Yes` and `No` texts.
I have reproduce it on separate vsdx image.
Comment 10 Bartosz 2024-09-29 09:28:35 UTC
I have created the Review for fix for missing Text Background.