Bug 142203 - [EMF] CreateDibPatternBrushPT support
Summary: [EMF] CreateDibPatternBrushPT support
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF 138087
  Show dependency treegraph
 
Reported: 2021-05-10 23:21 UTC by Valek Filippov
Modified: 2023-05-27 03:19 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
EMF sample with pattern brush (636 bytes, image/x-emf)
2021-05-10 23:22 UTC, Valek Filippov
Details
WMF sample with pattern brush (136 bytes, image/x-wmf)
2021-05-10 23:22 UTC, Valek Filippov
Details
WMF sample with pattern brush (136 bytes, image/x-wmf)
2021-05-10 23:24 UTC, Valek Filippov
Details
Screenshot of EMF and WMF samples opened in MS Paint (3.77 KB, image/png)
2021-05-10 23:25 UTC, Valek Filippov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valek Filippov 2021-05-10 23:21:47 UTC
Description:
LO doesn't seem to support CreateDibPatternBrushPT EMR in EMFs nor DIBCreatePatternBrush in WMF.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
The shape is filled with white.

Expected Results:
The shape should be filled with pattern.


Reproducible: Always


User Profile Reset: No



Additional Info:
There is a superset sample attached to 55058.
This one is opened to simplify testing and tracking.
Pattern for EMF was borrowed from David Mathog samples.
Comment 1 Valek Filippov 2021-05-10 23:22:27 UTC
Created attachment 171844 [details]
EMF sample with pattern brush
Comment 2 Valek Filippov 2021-05-10 23:22:50 UTC
Created attachment 171845 [details]
WMF sample with pattern brush
Comment 3 Valek Filippov 2021-05-10 23:24:11 UTC
Created attachment 171846 [details]
WMF sample with pattern brush

Corrected sample
Comment 4 Valek Filippov 2021-05-10 23:25:53 UTC
Created attachment 171847 [details]
Screenshot of EMF and WMF samples opened in MS Paint

EMF is colored one on the left.
Comment 5 Xisco Faulí 2021-05-11 07:49:53 UTC
Reproduced in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: d4f116d9576453f5974eb63db37a33c59ac53bc9
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 6 Valek Filippov 2021-05-26 20:02:28 UTC
Tall light gray rectangle in tdf#138087 attachment 167612 [details] is invisible in LO because it uses DIBPattern brush.
Fixing this bug will at least partially fix tdf#138087
Comment 7 QA Administrators 2023-05-27 03:19:24 UTC
Dear Valek Filippov,

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 with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

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)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug