Bug 142708 - [WMF] BitBlt and StretchBlt "without bitmap" variant is not supported
Summary: [WMF] BitBlt and StretchBlt "without bitmap" variant is not supported
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2021-06-07 22:42 UTC by Valek Filippov
Modified: 2023-06-09 03:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
WMF sample of BitBlt w/o bitmap (266 bytes, image/x-wmf)
2021-06-07 22:43 UTC, Valek Filippov
Details
How it should look like (1.41 KB, image/png)
2021-06-07 22:45 UTC, Valek Filippov
Details
HOw it looks like in LO (1.07 KB, image/png)
2021-06-07 22:47 UTC, Valek Filippov
Details
WMF sample of StretchBlt w/o bitmap (334 bytes, image/x-wmf)
2021-06-08 21:10 UTC, Valek Filippov
Details
StretchBlt in LO and MS Paint side by side (3.03 KB, image/png)
2021-06-08 21:15 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-06-07 22:42:18 UTC
Description:
[MS-WMF] 2.3.1.1.2 defines a BitBlt "without bitmap" variant.
LO doesn't support it. 

Steps to Reproduce:
Open attached WMF sample.

Actual Results:
LO shows two overlapping rectangles.

Expected Results:
It should have two overlapping rectangles and three copies of the overlapping area in around.


Reproducible: Always


User Profile Reset: No



Additional Info:
One of the smaller rectangles has negative YDest value and one has negative "Width" to allow testing for such cases.
Comment 1 Valek Filippov 2021-06-07 22:43:45 UTC
Created attachment 172686 [details]
WMF sample of BitBlt w/o bitmap
Comment 2 Valek Filippov 2021-06-07 22:45:04 UTC
Created attachment 172687 [details]
How it should look like
Comment 3 Valek Filippov 2021-06-07 22:47:00 UTC
Created attachment 172688 [details]
HOw it looks like in LO
Comment 4 Valek Filippov 2021-06-08 21:10:17 UTC
Created attachment 172710 [details]
WMF sample of StretchBlt w/o bitmap

According to Bartosz BitBlt and StretchBlt implementation is almost identical.
Adding a sample for StretchBlt w/o bitmap.
Comment 5 Valek Filippov 2021-06-08 21:15:37 UTC
Created attachment 172711 [details]
StretchBlt in LO and MS Paint side by side
Comment 6 QA Administrators 2023-06-09 03:14:30 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