Bug 122155 - Export to many different formats is distorted
Summary: Export to many different formats is distorted
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.1.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Graphics-Export
  Show dependency treegraph
 
Reported: 2018-12-17 13:42 UTC by andreas.neubaum
Modified: 2018-12-20 14:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
exporting this file causes the bug (11.71 KB, application/LibreOfficeDraw)
2018-12-17 13:45 UTC, andreas.neubaum
Details
exported emf file (7.00 KB, image/emf)
2018-12-17 13:47 UTC, andreas.neubaum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreas.neubaum 2018-12-17 13:42:09 UTC
Description:
Whenever I try to to export the attached sample odg-file to one of the formats gif, svg, png or emf the result looks distorted (see attached exports). However the export works fine for jpg and pdf files. I already tried to restart LibreOffice and my PC, reset the entire Libre Office to factory settings or launch it in safe mode but the problem still persists. However it looks like this problem only occurs for certain images: for a few odg-files similair to the attached one the same problem occurs, for others the export works just fine (however I could not yet find out what exactly causes the export problems in the odg-files, some work, others don't).

Steps to Reproduce:
1. open the attached .odg-file in LibreOffice Draw
2. click File->Export, choose emf for instance, click save
3. open the resulting emf file --> it looks distorted

Actual Results:
The resulting exported image is distorted

Expected Results:
The resulting exported image is not distorted


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: DrawingDocument
[Information guessed from browser]
OS: Windows 7
OS is 64bit: yes
Comment 1 andreas.neubaum 2018-12-17 13:45:42 UTC
Created attachment 147619 [details]
exporting this file causes the bug

when exporting this file to emf it looks distorted
Comment 2 andreas.neubaum 2018-12-17 13:47:41 UTC
Created attachment 147620 [details]
exported emf file

when exporting the attached odg-file this is the resulting emf-file. It clearly looks distorted comparing it to the original odg-file.
Comment 3 Telesto 2018-12-17 15:23:55 UTC
Repro
Version: 6.3.0.0.alpha0+
Build ID: beae6c7a7f163daad0d4dea63a3d403af2745fd1
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-06_23:55:16
Locale: en-US (nl_NL); UI-Language: en-US
Calc: CL


GIF
Border contour missing/ scaling is off + purple background

PNG
Border contour missing/ scaling is off (+ black background in Irfan view)

Everything fine with:
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 4 Hiromi Kuramoto 2018-12-18 05:00:09 UTC
I tried this reproduce in MacOS Sierra, but exported image is not distorted.

reproduce with:
Version: 6.1.3.2
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 4; OS: Mac OS X 10.12.5; UI render: default; 
Locale: en-US (ja_JP.UTF-8); Calc: group threaded