Created attachment 100457 [details] Rendering in LibreOffice 4.3.0.0 beta1 in comparison to rendering in LibreOffice 4.0.6.2 Figures saved in Matlab as metafiles (*.emf) and imported into LibreOffice 4.3.0.0 beta 1 show incorrect rendering - dashed lines in background grid are rendered as solid lines (see attachment for comparison of rendering between LibreOffice 4.0.6.2 and LibreOffice 4.3.0.0 beta 1). Tested platforms: Windows 7 64-bit (screenshot), Ubuntu 12.04.0 amd64. Steps to reproduction: 1. Open a new document 2. Import (drag&drop) the attached EMF file (attachment #2 [details] [review]) In LibreOffice 4.0.6.2 Dashed lines from Matlab are rendered as dashed lines In LibreOffice 4.3.0.0 beta 1 Dashed lines from Matlab are rendered as solid lines I did a bibisection in order to find the suspicious commit with following result: There are only 'skip'ped commits left to test. The first bad commit could be any of: 67ae616bc846d2a4e05661a5980287cb38b8a455 bde12e7d6eef3d657ebdf62cb5442490fb90d899 7faf01595aded0c825d2d9e50c62c688e91c1496 We cannot bisect more! Note: EMF figures imported from the GNU/Octave are rendered correctly (attachment #3 [details] [review]).
Created attachment 100458 [details] EMF file generated by Matlab (imported broken)
Created attachment 100459 [details] EMF file generated by GNU/Octave (imported OK)
Tested with LO 4.3.0.0beta2+, LO 4.2.6.0+, LO 4.1.6 and LO 4.0.6 under Ubuntu 14.04 x86-64: - EMF Gnu/Octave imported OK in all versions - EMF Matlab imported OK in LO 4.0.6 (generic Linux version) - EMF Matlab in LO 4.1.6 and 4.2.6.0+ : I see only the axis and the grid with dashed lines, not the curves. - EMF Matlab in LO 4.3.0.0beta2+ : I see only the curves but not the axis nor the grid. So there is obviously a bug and it is a regression because it works in LO 4.0.6 Best regards. JBF
Jean-Baptiste, please could you try some zooming of the document with Matlab EMF in 4.3.0.0beta2+? In 4.3.0.0 beta 1 the grid appeared after zoom-out, fresh import showed only curves. Thank you, KH (In reply to comment #3) > Tested with LO 4.3.0.0beta2+, LO 4.2.6.0+, LO 4.1.6 and LO 4.0.6 under > Ubuntu 14.04 x86-64: > - EMF Gnu/Octave imported OK in all versions > - EMF Matlab imported OK in LO 4.0.6 (generic Linux version) > - EMF Matlab in LO 4.1.6 and 4.2.6.0+ : I see only the axis and the grid > with dashed lines, not the curves. > - EMF Matlab in LO 4.3.0.0beta2+ : I see only the curves but not the axis > nor the grid. > > So there is obviously a bug and it is a regression because it works in LO > 4.0.6 > > Best regards. JBF
with current libreoffice-4-3, with zoom levels 80% - 140% the grid disappears, outside that range grid is visible. oh at 250%-310% it also disappears. does not happen in 4.2.4.2.
Indeed if I zoom on the document, the grid appears as said by Michael Stahl. We have the same problem in the preview. Tested with LO 4.3.0.0beta2+ under Ubuntu 14.04 x86-64 Best regards. JBF
The bug is still present in final release of LibreOffice 4.3.0.
Please, do not change the version number which shows the oldest version in which the bug has been seen. Best regards. JBF
(In reply to comment #8) > Please, do not change the version number which shows the oldest version in > which the bug has been seen. > > Best regards. JBF I am sorry. Thank you for notification.
Not sure how relevant this is to the current state of EMF, but the (or at least a) commit which broke this is below Adding Cc: to chris.sherlock79@gmail.com - enother EMF bug for you commit 09c722873b2d378d2d155f5f1dd7d8f3fb2012e9 Author: Andras Timar <andras.timar@collabora.com> Date: Sun Jan 19 15:12:15 2014 +0100 EMF/WMF: fix rendering of pen styles (dash, dot, dashdot, dashdotdot) Change-Id: I226bac370601b75f2589f7a7c5e8830746b31e2e
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.