Bug 116766 - When print Documents with WMF Graphic the printed WMF Graphic is pixelated
Summary: When print Documents with WMF Graphic the printed WMF Graphic is pixelated
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: Regressions-EMFPlus-Rework
  Show dependency treegraph
 
Reported: 2018-04-03 09:31 UTC by Stefan
Modified: 2020-11-19 22:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Bug 116766 Document to test (18.44 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-04-03 18:09 UTC, Stefan
Details
Sample Print (36.40 KB, application/pdf)
2018-04-03 18:09 UTC, Stefan
Details
WMF Graphic (8.79 KB, image/x-wmf)
2018-04-03 18:10 UTC, Stefan
Details
Bibisect log (3.39 KB, text/plain)
2018-04-03 18:56 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan 2018-04-03 09:31:11 UTC
Description:
When print Documents with WMF Graphic the printed WMF Graphic is pixelated.

Steps to Reproduce:
1.New Calc Spreadsheet
2.Insert a WMF Graphic
3.Print it

Actual Results:  
The printed WMF Graphic is pixelated.

Expected Results:
The Software should print the Graphic not pixelated.


Reproducible: Always


User Profile Reset: No



Additional Info:
This error is since the 6.x release. Until v 5.x no problems. After removing the v 6.0.2.1 an reinstalling the last v5.x release, the printing of a sheet with WMF Graphic is smooth and clear.


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Comment 1 Mike Kaganski 2018-04-03 11:15:09 UTC
Cannot reproduce with a fresh master Version: 6.1.0.0.alpha0+ (x64)
Build ID: 55d5d9d365ea18e66cef045756f772e2fa9d0648
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: ru-RU (ru_RU); Calc: CL

nor with Version: 6.0.3.2 (x64)
Build ID: 8f48d515416608e3a835360314dac7e47fd0b821
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: ru-RU (ru_RU); Calc: CL

Could you attach a sample here, to see if there's some important detail in your WMF causing that?
Comment 2 Stefan 2018-04-03 18:09:21 UTC
Created attachment 141062 [details]
Bug 116766 Document to test
Comment 3 Stefan 2018-04-03 18:09:52 UTC
Created attachment 141063 [details]
Sample Print
Comment 4 Stefan 2018-04-03 18:10:12 UTC
Created attachment 141064 [details]
WMF Graphic
Comment 5 Stefan 2018-04-03 18:12:16 UTC
The error occurs only with graphics in the header, see attached files:
Format > Page > Header > More > Background > Picture
Comment 6 Telesto 2018-04-03 18:39:20 UTC
Repro with
Version: 6.1.0.0.alpha0+
Build ID: 85b9b178467c3dd7a96a6b07713ca94bc3790c50
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-03-31_23:14:33
Locale: nl-NL (nl_NL); Calc: CL

but not with
Version: 5.4.1.0.0+
Build ID: f200d5700782ae179fd96b6ad4b0fe8e7edd1616
CPU threads: 4; OS: Windows 6.29; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 7 Telesto 2018-04-03 18:56:02 UTC
Created attachment 141065 [details]
Bibisect log

Bisected to:
# possible first bad commit: [0354bd81150a88923212fdbad777803c0ce51590] source 600a2aa24085cb972686b46061f9045785208a9e
# possible first bad commit: [538fdba25a0ebda3f4b333de6e850569b04081a6] source sha:5868745db74ae930edb0

author	Armin Le Grand <Armin.Le.Grand@cib.de>	2017-06-12 15:27:16 +0200
committer	Thorsten Behrens <Thorsten.Behrens@CIB.de>	2017-07-15 11:01:29 +0200
commit 5868745db74ae930edb0058490076d82aaeafbe9 (patch)
tree 78bea29cb44b770d9e3affef2a303d0d38722d85
parent 83535a28c57ffb59f795dd35332d6b3426071e32 (diff)
emfplus: make VectorFormats Emf/Wmf/Svg work
make complete turn around and internal buffering
for Emf/Wmf/Svg work, including images in ODF and
re-save from UI. The correct FileType has to be
determined. It has shown that *.wmf exist that really
contain *.emf, so this turn around will not alter
the binary data, but may change the mimetype

---

author	Armin Le Grand <Armin.Le.Grand@cib.de>	2017-06-12 19:31:10 +0200
committer	Thorsten Behrens <Thorsten.Behrens@CIB.de>	2017-07-15 11:01:29 +0200
commit 600a2aa24085cb972686b46061f9045785208a9e (patch)
tree 33b323e9b28064d7faca98381d29a94324d78fa5
parent 5868745db74ae930edb0058490076d82aaeafbe9 (diff)
emfplus: for convenience added fallback
For development and to not be dependent of the progress
of the coming EMF+ importer, for now add fallback to
using the old Metafile importer, plus conversion to
primitive representation. That way the whole encapsulation
is ready and can already be used
Comment 8 Telesto 2018-04-04 07:28:51 UTC
Adding CC to Armin Le Grand
Comment 9 QA Administrators 2019-10-05 03:06:55 UTC Comment hidden (obsolete)
Comment 10 Xisco Faulí 2020-11-19 11:42:14 UTC
Hello Stefan, Telesto,

Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
Comment 11 Telesto 2020-11-19 21:53:09 UTC
I would call it a WFM

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 312a33b7636334f6ce3b6d1702bc5d3e45215601
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL