Text document with EMF picture from https://bugs.freedesktop.org/attachment.cgi?id=76865 cannot be printed on Windows.
Print preview icon in Print dialog is wrong. Prints only part of EMF picture.
Reproducible with LO 22.214.171.124 and later, including 126.96.36.199 under Win7x64.
NOT reproducible with 188.8.131.52 and earlier -> regression.
Timur, I noted that you have set the version to 3.5.0, but I cannot reproduce it there. Are you sure that you saw this problem with that version? If so, please set the version back.
Created attachment 94830 [details]
Screenshots, PDFs and EMF
Attached are screenshots, printed PDFs and exported PDFs of the bugdoc from attachment 76865 [details]. Also, the EMF was extracted from the bugdoc, and included in the attachment as well.
As may be seen, v.184.108.40.206 shows print preview, prints and exports the file OK. Worth noting is that both generated PDFs contain the EMF data as text.
Starting with 220.127.116.11, print preview shows incorrect picture. Both printed PDF and exported PDF are wrong, but differently. Printed PDF has proper page size, while exported has wrong page size and more closely match the pront preview image. Also note that both PDFs contain raster image for the EMF (exported version image is larger than the page size). Operating the file is very slow, be it printing, exporting or zooming. Also notable that zooming causes parts of the text to disappear, just as on the printout. To see this, you may zoom to ~800% centering to colored line close to right margin.
Starting with 18.104.22.168, distortion changes (more text disappears). Slow operation and disappearing text on zoom are present, too.
The attached EMF (that was extracted from the .doc) may be opened with Draw. Then it will show the same problems, i.e. slow operation, disappearing of text, and wrong printing/exporting, with the same versions.
Also I tested the .doc with 22.214.171.124 under Ubuntu. There I cannot reproduce distorted print/export, nor disappearing text on zoom, but operation is still very slow.
(In reply to comment #1)
> Reproducible with LO 126.96.36.199 and later, including 188.8.131.52 under Win7x64.
> NOT reproducible with 184.108.40.206 and earlier -> regression.
You're are right. I just copied my old comment, but it was wrong. Version 220.127.116.11 is correct. Versions 3.6.0.x are not available for further testing.
Already reproducible with 18.104.22.168.beta1.
Radek, Luboš, please excuse me for adding you to CC here, if it's not your area. I noticed that you were involved into doing some stuff with WMF/EMF/EMF+ in 3.6.0 (https://wiki.documentfoundation.org/Releases/3.6.0/Beta1). Could you please check if this issue is a regression that arose from those patches?
Still the same problem in LO 4.2.6 and 4.3.2.
AFAIK, this cannot be bibisected? What are the options for a fix?
Same problem in 5.0-alpha.
Looks like a duplicate of Bug 77525, that one is newer but it has a temporary resolution.
*** This bug has been marked as a duplicate of bug 77525 ***
Migrating Whiteboard tags to Keywords: (notBibisectable)
disable Tools -> Options -> View: "Use hardware acceleration" (or enable "OpenGL rendering" if system supports).
QA clean up of 77525, splitting it to bug 104252 and bug 103833
*** This bug has been marked as a duplicate of bug 104252 ***