Bug 141264 - EMF FILEOPEN regression: The EMF background is wrong
Summary: EMF FILEOPEN regression: The EMF background is wrong
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-03-26 14:04 UTC by Bartosz
Modified: 2021-03-30 17:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
EMF file for reproduce the issue (162.20 KB, image/x-emf)
2021-03-26 14:04 UTC, Bartosz
Details
Screenshot of wrongly displayed EMF image (404.07 KB, image/png)
2021-03-26 14:06 UTC, Bartosz
Details
Screenshot of correctly imported EMF image (LO 7.0.5) (788.45 KB, image/png)
2021-03-26 14:07 UTC, Bartosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz 2021-03-26 14:04:00 UTC
Description:
In LO master, after loading EMF file, the background is wrong

Steps to Reproduce:
1. Open Libreoffice and create new writer document
2. Drag and drop attached EMF file into LO

Actual Results:
Background is in incorrect size and it is white

Expected Results:
Background is in correct size and it is yellow


Reproducible: Always


User Profile Reset: No



Additional Info:
.
Comment 1 Bartosz 2021-03-26 14:04:50 UTC
Created attachment 170759 [details]
EMF file for reproduce the issue
Comment 2 Bartosz 2021-03-26 14:06:07 UTC
Created attachment 170760 [details]
Screenshot of wrongly displayed EMF image
Comment 3 Bartosz 2021-03-26 14:07:46 UTC
Created attachment 170761 [details]
Screenshot of correctly imported EMF image (LO 7.0.5)

The software used for reproduction:
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 04a4d5021f863effcf129e754343ccf510ef4d45
CPU threads: 8; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Timur 2021-03-26 14:50:45 UTC
No repro 7.2+ Win and Lin. Mac only? Please try with profile rename. 
Also, this is well-known file, better to just write it's name than to upload again.
Comment 5 Xisco Faulí 2021-03-26 16:23:56 UTC
I can't reproduce it in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 3e4eb070787d4d44b3bdc95046e5b231dbbef42b
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Xisco Faulí 2021-03-26 16:25:19 UTC
(In reply to Bartosz from comment #3)
> Created attachment 170761 [details]
> Screenshot of correctly imported EMF image (LO 7.0.5)
> 
> The software used for reproduction:
> Version: 7.2.0.0.alpha0+ / LibreOffice Community
> Build ID: 04a4d5021f863effcf129e754343ccf510ef4d45
> CPU threads: 8; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded

That build ID doesn't exist -> https://cgit.freedesktop.org/libreoffice/core/commit/?id=04a4d5021f863effcf129e754343ccf510ef4d45
Do you have some commits on top of the master branch ?
Comment 7 Julien Nabet 2021-03-27 07:51:27 UTC
Just for the record, on pc Debian x86-64 with master sources updated today, I don't reproduce this with gtk3/gen and kf5 renderings, at least background is yellow.
Comment 8 Bartosz 2021-03-29 11:07:09 UTC
It seems that it is only related to macOS.
I have tested latest `master` and still the same issue:

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: bb79264cda2f182b71ccdfa9334896b594b2eb67
CPU threads: 8; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 9 QA Administrators 2021-03-30 03:41:02 UTC Comment hidden (obsolete)
Comment 10 Roman Kuznetsov 2021-03-30 17:20:07 UTC
no repro in today's build

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: fde3b0e07eaf86ed4e16326de323f79db706e8f2
CPU threads: 4; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded