Bug 52247 - WMF file renders with inverted colors when added as shape fill.
Summary: WMF file renders with inverted colors when added as shape fill.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Drawing (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 21:46 UTC by Brennan Vincent
Modified: 2015-01-23 16:45 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
The WMF image in question (44.79 KB, image/x-wmf)
2012-07-18 21:46 UTC, Brennan Vincent
Details

Description Brennan Vincent 2012-07-18 21:46:42 UTC
Created attachment 64365 [details]
The WMF image in question

To reproduce:
(1) open lodraw
(2) create a rectangle or other shape
(3) open the "area" dialog for the rectangle and go to the bitmaps tab
(4) import the attached wmf image and set it as the area for the rectangle

The shape will be rendered as white on black, which is erroneous. It should instead have black text on a white background.

The image also opens incorrectly in Gimp and LibreOffice current git master on Linux. It opens correctly in MS Paint, LibreOffice 3.5.5.3 on Windows, and when added normally as an image (that is, not as the area of a shape) in LibreOffice current git master on Linux.
Comment 1 Valek Filippov 2012-07-18 23:35:02 UTC
This WMF is actually "wrapper" for bitmap in DibStretchBlt record.
Bitmap is 1 BPP file, which could be important, because similar WMF with 8BPP image seems to work fine.
I've tried to insert 1bpp bitmap as an image and use it to fill area. In both cases LO was able to render it properly.
Therefore only "1BPP wrapped into WMF added as a shape fill" makes the problem.
Comment 2 QA Administrators 2015-01-05 17:51:49 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present on a currently supported version of LibreOffice (4.3.5 or later): https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

Thank you for your help!

-- The LibreOffice QA Team
Comment 3 Beluga 2015-01-23 16:45:12 UTC
It now imports correctly -> WFM.

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 07e84cae983c08afdba03018413a19d01abb3006
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-19_06:15:38


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.