Created attachment 167125 [details]
.docx file to reproduce the problem
Steps to reproduce:
- open the attached .docx file in LO
- open the same file in MS-Word
=> the figure does not appear the same. In particular, the left figure appears way too small.
I have tested with LO 6.4, 7.0 and 7.1 and the problem seems to be the same.
Created attachment 167126 [details]
The file as it appears in LO.
Created attachment 167127 [details]
The figure as it appears in Word.
Created attachment 167136 [details]
Problematic emf image extracted from the file
Version: 18.104.22.168.alpha1+ (x64)
Build ID: 00e5c63c35307faacf76a5e2ca7953c4208244ed
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
In 6.0 and older the size of the left part was similarly bad, so this does not seem like a recent regression.
DOCX is not important. Also if EMF inserted in new Writer file.
Created attachment 167140 [details]
EMF compared in MSO and LO
As seen in screenshot, LO opened EMF differently up to 3.5, with right size but part missing.
From 3.6 there was a change, likely EMF+ enabled. With EMF_PLUS_DISABLE=1 in 7.1+ it looks like in 3.5.
Created attachment 167143 [details]
.docx file to reproduce the problem
Another figure from the same original document which appears incorrectly in LO.
Created attachment 167161 [details]
Another .docx file with a similar problem
Another figure which does not display correctly in LO.
Unfortunately these images are really huge and complicated. Do you have some simpler images where you could reproduce that issue?
Sorry, but I don't have simpler images at hand.
Created attachment 167225 [details]
EMF image exported to PNG via Paint
After disable EMF+ with terminal command:
the image is partially fixed.
Created attachment 167569 [details]
Second PNG image exported via Paint
Do you have some other images to analise?
Do you know by which application it was created/edited? (I would like to try to reproduce that issue with that application).
I received two documents from a colleague with some 3 figures which displayed incorrectly.
I uploaded all the 3 incorrect figures, I don't have more at this stage.
I will ask her how she produced the figures.
So apparently my colleague created the figures in PowerPoint, by assembling different figures and adding text/drawing items.
She created the charts using SigmaPlot.
Thanks Frederic for information.
Which version of SigmaPlot was used for creation of these EMF images?
I see several problems here:
- vertical text are rotated by 180 degrees (both with and without EMF_PLUS_DISABLE) - first image - https://bug-attachments.documentfoundation.org/attachment.cgi?id=167225
- bitmaps are not scaled properly - first image - https://bug-attachments.documentfoundation.org/attachment.cgi?id=167225
- duplicated bitmap images - second image - https://bug-attachments.documentfoundation.org/attachment.cgi?id=167569
- missing characters (eg. "+-" near "Antarctique" text on second image) - https://bug-attachments.documentfoundation.org/attachment.cgi?id=167569
Do you think you will be able to create images with these issues (one image per issue) with SigmaPlot? It will drastically simplify the process of analysing these issues.
I have asked my colleague about the version of SigmaPlot she uses.
I will keep you informed.
I don't have SigmaPlot myself, so I am not sure I will be able to provide simpler reproducible examples.
Created attachment 167598 [details]
.emf file as exported from SigmaPlot corresponding to the third .docx document
Please find attached the .emf file as exported from SigmaPlot corresponding to the third .docx document.
As you can see, there are problems with axes labels placements and rotations.
In the .docx document, the figure has also probably been cropped to remove the three axes on the right of the figure, and the cropping seems to be mis-interpreted by LO.
I exported that figure using SigmaPlot 14.5 (you can download an evaluation version for free and it lasts one month).
Could you please attach original/native SigmaPlot files, so I could edit/export it by myself. You could send it to my private e-mail.
Created attachment 167611 [details]
.emf file to reproduce the problem.
Attached a simplification of the last image provided in comment #20.
It contains only an axis with its label.
You can see that the axis label is rotated 180° and that it is misplaced.
Created attachment 167612 [details]
.emf file to reproduce the problem.
Attached another simplification of the .emf image in comment #20.
It contains only one grey vertical rectangle.
@Bartosz: I prefer avoiding sending the SigmaPlot file since it is not my file but my colleague's file.
But I am available to isolate the problems one by one.
Just let me know.
Thanks you. It is very useful.
Could you please isolate following issues
- the scaling issue from image (the chart is too small): https://bugs.documentfoundation.org/attachment.cgi?id=167125
- duplicate globes from EMF file: https://bugs.documentfoundation.org/attachment.cgi?id=167143
@Bartosz: I have asked the source files to my colleagues for the two issues you mentioned. I will keep you informed.
Created attachment 167672 [details]
.pptx source file to used to reproduce the issues in comment #25
@Bartosz: my colleague provided a source file in .pptx format to reproduce the two issues in comment #25.
Unfortunately, I am not able to reproduce the two issues from this source file.
There is no duplicate globe and the size of the chart is correct.
So I am not sure how to proceed from here.
Created attachment 171670 [details]
LO Logs from importing emf file
Dear Frederic Parrenin,
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!
I confirm the problem still exists in 7.4.5.