Created attachment 115198 [details] ODT file which consists frames Hi, The attached odt file is created on LibreOffice 4.3 and includes frames. If you open the file with LibreOffice 4.4, the frames disappeares. It should look like the attached PDF version. Best regards,
Created attachment 115199 [details] The PDF version of original file, which it should look like and it is as in 4.3
I can confirm with Version: 5.0.0.0.alpha1+ Build ID: 59adad74084e9281887e3f78a225794f37b784d7 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-04-29_12:40:39 it's correct in LO 4.3.7, regression
inserting the frames fails with IllegalArgumentException. the style on the frames in the document looks like this: <style:graphic-properties style:wrap="parallel" style:number-wrapped-paragraphs="no-limit" style:vertical-pos="from-top" style:vertical-rel="paragraph" style:horizontal-pos="from-left" style:horizontal-rel="paragraph" fo:background-color="#dddddd" style:background-transparency="0%" draw:fill="solid" draw:fill-gradient-name="Sarı_5f_5f_5f_5f_..._5f_5f_5f_3"> the value of the fill-gradient-name is 12638 bytes long! there is no gradient defined in the styles.xml. the fill-gradient-name should not be there because of draw:fill="solid". so the document is invalid... not sure if this can really be regression, it's caused by the usual drawing-fill-style refactoring.
i've added a work-around to just ignore the invalid gradient, let's hope this will not cause other issues...
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=00eab70295cbce40368d57224c3f51c6e5f2457e tdf#90946: sw: ODF import: ignore invalid gradient-name if style SOLID It will be available in 5.0.0. 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-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b2ae2266b81441b0e0c9879d532b1291a31314d8&h=libreoffice-5-0 tdf#90946: sw: ODF import: ignore invalid gradient-name if style SOLID It will be available in 5.0.0.0.beta2. 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-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=25922e2f50b27e47d0953d4a2ac51e9f6673a17a&h=libreoffice-4-4 tdf#90946: sw: ODF import: ignore invalid gradient-name if style SOLID It will be available in 4.4.4. 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]