Description: LO doesn't support WMF StretchBlt MR and shows nothing. Steps to Reproduce: Open attached WMF sample. Actual Results: LO shows empty object. Expected Results: It should show a small rectangle filled with color gradient. Reproducible: Always User Profile Reset: No Additional Info: tdf#142708 has a sample of StretchBlt variant w/o bitmap.
Created attachment 172712 [details] WMF sample with StretchBlt with bitmap
Created attachment 172713 [details] How it should look like
Created attachment 172714 [details] WMF BitBlt with 32bpp bitmap Looks like BitBlt implementation of "with bitmap" variant is also incomplete. It seems to have incorrect support for 1bpp bitmaps only.
Created attachment 172715 [details] How BitBlt with 32bpp bitmap should look like
Confirm with Version: 7.2.0.0.alpha1+ / LibreOffice Community Build ID: ec629c5ee22d02f99d66a5cf975ce239876b7f4d CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/01ded1e6d362dbcd7148334c6965d6ad00981d4a WMF tdf#55058 tdf#142722 Add implementation of BitBlt and StretchBlt It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.