Created attachment 97368 [details] .doc original file, pdf resulting file and screenshot with how I see it Hi guys I'm having trouble with latest LibreOffice build on my pc (I have Ubuntu and installed via DEB packages version 4.2.3.3 Build ID: 882f8a0a489bc99a9e60c7905a60226254cb6ff). In LibreOffice 3.5 on a CentOS server (installed via repos), the .doc opened in a better way (not perfect because original .doc file doesn't respect margins). In attached .png screenshot you can see that the image isn't visible but when you click on it, you can see properties dialog and others showing the image properly but in the file or the PDF aren't images there. Do you know if maybe there's one library I missed at manual upgrade via DEB packages? or how can I debug this in order to help more Thanks in advance
Hi, I think it's a duplicate of bug 76803, the document produced is a docx, but it's the same result. Could you have a look at the other bug? Sophie
tested under Win7x64 image completely shown in LibO 4.1.5.3 mostly not shown in LibO 4.2.0.4 and 4.2.3.3 except a thin vertical line in the middle not shown at all in LibO 4.3.0.0.alpha1+ Build ID: 0b03f7ed575838f90e6b1ebec3538a3a214f81fb TinderBox: Win-x86@42, Branch:master, Time: 2014-04-30_02:30:23 @sophie I think bug 76803 is a different issue since the behaviour across different releases varies.
First bad commit is in the range of 2fb0b401ae351744773a19872377c076831f8c62..ebeff1814cbecfba9bbeaeba8067b58f71703a39, probably it is 2e51675... Resolves: #i123500# unified Graphic processing to use GraphicPrimitive2D.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6d431ffb682d0e64b75b6267f369822ff0b0617e fdo#77454: fix WW8 import/export of negative image crop The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=18959222dd3161df03e3f7213cf497819260d69f&h=libreoffice-4-2 fdo#77454: fix WW8 import/export of negative image crop It will be available in LibreOffice 4.2.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9f504936095411fcefdb65b6e09bd557068af20f&h=libreoffice-4-3 fdo#77454: fix WW8 import/export of negative image crop It will be available in LibreOffice 4.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7e91dd0a3885ac561aee9cf7907632677b9886c1 fdo#77454: sw: ww8 import: add heuristic to ignore mangled crop values The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5f80a1059b19355753ce7950f7f900f51b13c2f0&h=libreoffice-4-3 fdo#77454: sw: ww8 import: add heuristic to ignore mangled crop values It will be available in LibreOffice 4.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
yes 2e51675 looks responsible... although... the images all have cropping applied that is very large, 80 or 393 times the image size. the GraphicManager based rendering effectively ignored the excessive cropping but the drawing-layer does not and calls OutputDevice::DrawBitmapEx with a 1-pixel width or height. the problen is that the WW8 import and export do not handle negative crop values properly, and round-tripping a document through OOo/LO will corrupt the cropping values. so first i've fixed the WW8 filters to handle negative crops right, and then added a check to detect overly large crops that have probably been corrupted by older LO versions and just ignore them.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a1f385b74a542ab3caaa8abbefc39f14bf27ca72&h=libreoffice-4-2 fdo#77454: sw: ww8 import: add heuristic to ignore mangled crop values It will be available in LibreOffice 4.2.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-2-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a710e9307153885537ea3a0257b533bd6b8d2df3&h=libreoffice-4-2-5 fdo#77454: sw: ww8 import: add heuristic to ignore mangled crop values It will be available already in LibreOffice 4.2.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit]