Bug 77525 - PRINTING: Windows Metafiles (WMF) don't correctly print with 'Reduce Image Resolution' enabled on Windows
Summary: PRINTING: Windows Metafiles (WMF) don't correctly print with 'Reduce Image Re...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version: 3.6 all versions
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-04-16 13:28 UTC by Joe
Modified: 2014-07-16 16:52 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Vendor document that is sent to us monthly. We have no control over it coming in a .docx format (54.55 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-04-16 13:28 UTC, Joe
Details
LibO 3.5 vs 4.2 on Windows (198.20 KB, image/png)
2014-06-05 04:33 UTC, Jay Philips
Details

Description Joe 2014-04-16 13:28:55 UTC
Created attachment 97473 [details]
Vendor document that is sent to us monthly.  We have no control over it coming in a .docx format

Problem description: 
When opening a WMF picture in a docx file (see attached file page 1) the image renders on the page but not when printed.  The outline and some of the header data will be there but the numbers in the columns do not.  

Steps to reproduce:
1. Open attached file: Packaging Change Management Supplier Form_ACME4.docx
2. View and print page 1 to see the missing data.  

Steps to resolve currently:
1. Right click on the image and select "Compress Graphic"
2. In the Compress Graphic dialogue uncheck "Reduce Image Resolution"
3. Click OK and the image will convert to a bitmap that will now be printable.

Current behavior:
WMF not printing correctly

Expected behavior:
WMF being automatically handled so it prints correctly.  In this case converting a single image isn't an issue but on a files with a lot of issues it won't be feasible.
              
              
              
Operating System: Windows 7
Version: 4.2.2.1 release
Comment 1 Jay Philips 2014-06-05 04:32:14 UTC
Confirmed on Windows 7 in LibO 3.6 - 4.2 and 4.4a. This is a regression as it prints correctly in 3.5, likely because there is no right-click > 'Compress Graphic' option, though that option isnt there in 3.6 as well. This doesnt effect Linux.
Comment 2 Jay Philips 2014-06-05 04:33:15 UTC
Created attachment 100433 [details]
LibO 3.5 vs 4.2 on Windows
Comment 3 Michael Stahl 2014-06-10 20:01:31 UTC
adjusting version per comment #2

"Reduce Image Resolution" was added in this commit:


commit 660e3c1b204ac709e2acdace2a67f359505a1555
Author:     Tomaž Vajngerl <quikee@gmail.com>
AuthorDate: Sun Jul 15 22:22:45 2012 +0200

    GUI improvements for CompressGraphicDialog.
Comment 4 Joel Madero 2014-07-16 16:52:01 UTC
Doesn't affect Linux so no bibisect needed. Also it seems MStahl has found the bad commit.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.