Created attachment 122363 [details] LibreOffice vs Opera Steps: 1) Open Writer 2) Insert https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/clippath.svg 3) Compare the output with what you can find in your browser or inkscape Version: 5.2.0.0.alpha0+ Build ID: 513d5c5781ec14f8512432f31290a3d54c8d57df CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-01_10:25:20 Locale: en-US (en_US.UTF-8) References: http://www.w3.org/TR/SVG11/masking.html https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/clip-path
I can confirm with Version: 5.2.0.0.alpha0+
Seems that the square clippath used to work correctly in 4.3.6, so that type of clippath is a regression. Another example of the square clippath - https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/gaussian2.svg
I believe their is a clippath problem with the below SVG, as the white shine along the sword goes over the width of the sword. https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/scimitar.svg The element in questions is <path ... clip-path="url(#clipPath6461)" id="path5425" />
There're two problems here, first one is the same as in bug 97582, style is not applied to the clippath. The second problem found here is when the clippath contains a reference to another clippath. I take this
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7b7ffedfa6357b902a5e354d986dac39a3b2f462 SVGIO: tdf#97539: clip-path elements might contain... It will be available in 5.2.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.
Xisco Faulí committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=85fcf15ff41ceb95f46dee586ff7187551be4955 Revert "SVGIO: tdf#97539: clip-path elements might contain..." It will be available in 5.2.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.
@Xisco: As this is a regression, shouldnt we be attempting to revert the commit which caused this.
Regression from 0347e5c77d281e4a25f79660aafb625691c4f883
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d5649ae7b76278cb3155f951d6327157c7c92b65 SVGIO: tdf#97539: clip-path elements might contain... It will be available in 5.2.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.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fb33451a27d8668bc14f5bcfd6ea742fc4c5b84c tdf#97539: SVGIO: iterate over parent's clippaths It will be available in 5.2.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.
After 2c29716d349353997bf7cdde63cd9f867c5baeb6, this bug can be considered as RESOLVED FIXED
I partially reverted the commit fixing the problem in 5903235d57acb13d9d5286d23b443a01aeab9a3c. it needs to be fixed in a different way. Reopening this
** Please read this message in its entirety before responding ** 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
still repro in LO 6.1 beta 2
Dear Yousuf Philips (jay) (retired), 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Created attachment 154291 [details] minimized sample
*** Bug 100135 has been marked as a duplicate of this bug. ***
*** Bug 115017 has been marked as a duplicate of this bug. ***
*** Bug 130126 has been marked as a duplicate of this bug. ***
for further calcifications, please have a look at https://ask.libreoffice.org/t/svg-wrong-rendering/69072 the clipPath should work for rectangular areas as claimed here in the session Clipping http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1-html/OpenDocument-v1.1.html#15.27.30.Clipping%7Coutline as shown to the first post, it is not the case.
(In reply to giammi56 from comment #20) > for further calcifications, please have a look at > https://ask.libreoffice.org/t/svg-wrong-rendering/69072 > > ... > > as shown to the first post, it is not the case. The normative reference at ODF 1.3 are: 20.183 fo:clip https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1419798_253892949 with 18.3.8 clipShape https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1416552_253892949 as defined in XSL Layout Related Properties 7.20 --> 7.20.1 "clip" https://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#section-N44408-Layout-related-Properties
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/82c0a363abbceac6464b62c3571aa3225415c7db tdf#97539; if parent is css style, look one level up It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/24683ac70084dcbb708f95e0fe66ba1886cfe1f1 tdf#97539; if parent is css style, look one level up It will be available in 7.4.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 134070 has been marked as a duplicate of this bug. ***
*** Bug 136491 has been marked as a duplicate of this bug. ***
*** Bug 112572 has been marked as a duplicate of this bug. ***
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/47c428537154cd94b1d9a7547bde21ce711abd0d related: tdf#97539: SVGIO: iterate over parent's clippaths It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/6cd06c36b9755cb3a9058ee1572b68e3ef4a3fad related: tdf#97539: SVGIO: iterate over parent's clippaths It will be available in 7.4.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Working well in Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 41f02927b6d8470c298c8a2f407c98420a5ebe24 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/9e18bc8eca8bf340f765d2eb2d8bcad83b4412b3 tdf#97539; if parent is css style, look one level up It will be available in 7.3.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/d4f5877a6a9bb5cbe70c5d60634aabe1282b96af related: tdf#97539: SVGIO: iterate over parent's clippaths It will be available in 7.3.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.