Bug Hunting Session
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)
5.0.6.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Graphics-Export
  Show dependency treegraph
 
Reported: 2018-12-17 13:42 UTC by andreas.neubaum
Modified: 2019-04-09 19:31 UTC (History)
5 users (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
Comment 5 raal 2019-03-04 19:25:51 UTC
bisected GIF case

This seems to have begun at the below commit.
Adding Cc: to Armin Le Grand; Could you possibly take a look at this one? Thanks

281611bcbe466cc1fd08ad39c8a664b92322d27a is the first bad commit
commit 281611bcbe466cc1fd08ad39c8a664b92322d27a
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Wed Mar 9 00:46:39 2016 -0800

    source sha:f3ff67d3c3047de3ad43f8bb3f805d82eaef0479

author	Armin Le Grand <Armin.Le.Grand@cib.de>	2016-03-02 17:21:10 +0100
committer	Michael Stahl <mstahl@redhat.com>	2016-03-02 21:29:48 +0000
commit	f3ff67d3c3047de3ad43f8bb3f805d82eaef0479 (patch)
tree	e6ee6051aa5baffc44e48bc4e13de6227f6eec87
parent	01ffe26fdf1c4575cffdf64468e3c1c996a2d200 (diff)
tdf#96922 Suppress EditView PageVisuailsation in GraphicExporter