Created attachment 124712 [details] insert SVG Version: 5.2.0.0.alpha1 Build ID: 902b28a39528b6c92602e9b521a1d0861be1caf9 CPU Threads: 2; OS Version: Windows 5.2; UI Render: default; Locale: ru-RU (ru_RU) -- 1. Start LibreOfficeDev (Writer or Draw or Inpress). 2. Click Insert > Image… 3. Insert the attached file. 4. See: raster gradient has an error.
Created attachment 124716 [details] Inkscape-LibO_3.6.7-LibO_5.2.0.0 snapshot LibreOffice_3.6.7.2 shows the SVG file correctly. This is regression.
Yeah. Arch Linux 64-bit, KDE Plasma 5 Version: 5.2.0.0.alpha1+ Build ID: 540fee2dc7553152914f7f1d8a41921e765087ef CPU Threads: 8; OS Version: Linux 4.5; UI Render: default; Locale: fi-FI (fi_FI.UTF-8) Built on April 30th 2016
Hello Xisco, this SVG was broken in 5.2-oldest and your commit repaired it, please could you look also at this problem? Thanks 25d47718f1d223a8d616a765c4d19a40fa0aab98 is the first bad commit commit 25d47718f1d223a8d616a765c4d19a40fa0aab98 Author: Norbert Thiebaud <nthiebaud@gmail.com> Date: Fri Mar 18 11:13:50 2016 -0700 source ecc7f698b5f080530f006218fa3dd82da43d9abb author Xisco Fauli <anistenis@gmail.com> 2016-03-07 22:05:59 (GMT) committer Noel Grandin <noelgrandin@gmail.com> 2016-03-09 08:51:27 (GMT) commit ecc7f698b5f080530f006218fa3dd82da43d9abb (patch) tree 54307f8f7cc17c2d39dc63c530bb76def03a3e7f parent 49b78749b1323dc7978d15135bc42646cb0db719 (diff) SVGIO: Fix problem when style's parent contains a mask element
Adding Cc: to Xisco Fauli
I confirm this bug: Version: 5.4.0.0.alpha0+ Build ID: 0cd819b68ced2a95a127a246c0558153fbdbcae2 CPU Threads: 8; OS Version: Windows 5.2; UI Render: default; TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2017-01-31_12:28:03 Locale: ru-RU (ru_RU); Calc: group
Created attachment 133751 [details] bad SVG gradients I confirm bug. OS: Lubuntu 16.04 LTS Версия: 5.4.0.0.beta1 ID сборки: 8672113ead4e403c55e31b1d9a3d1e0f3b299577 CPU threads: 4; OS: Linux 4.4; UI render: по умолчанию; VCL: gtk2; Локаль: ru-RU (ru_RU.UTF-8); Calc: group
still repro in LibreOffice 6.1 beta 2
Dear ape, 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
The problem is the masks use URL in their styles. My commit just arose an previous existing problem. See bug 94765 *** This bug has been marked as a duplicate of bug 94765 ***
(In reply to Xisco Faulí from comment #9) > The problem is the masks use URL in their styles. > My commit just arose an previous existing problem. See bug 94765 > > *** This bug has been marked as a duplicate of bug 94765 *** Not a duplicate of bug 94765
*** Bug 127376 has been marked as a duplicate of this bug. ***
Created attachment 154323 [details] min document
I believe the problem is <use id="use6320" xlink:href="#surface7672"> pointing to <g id="surface7672"> with a child <path id="path1132"> defining the style. If the path style is defined in <g id="surface7672"> or <use id="use6320" xlink:href="#path1132"> the style is applied
Created attachment 154329 [details] How the image looks like before my patch
Dear ape, 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 https://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 176656 [details] LibreOffice 7.3 vs Firefox vs Chrome Interestingly, LibreOffice draws the image the same way as Firefox
*** Bug 146009 has been marked as a duplicate of this bug. ***
I checked this issue again but I couldn't find the reason why attachment 124712 [details] gets rendered as displayed in https://bug-attachments.documentfoundation.org/attachment.cgi?id=154329 if I revert my commit. Maybe i'll just revert it so at least bug 127376 and bug 146009 are fixed
The problem is in the mask calling a filter
Probably the same root cause as bug 136492
The problem with the sample file is that it applies an alpha matrix, which is not supported by LibreOffice at the moment. If values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0" is replaced by values="0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0", then it works.
*** Bug 136492 has been marked as a duplicate of this bug. ***
I know how to fix it
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fa61e8b220aa1f34b022b9af485f0209b2cb25d1 tdf#99562: Do not ignore last column from matrix It will be available in 24.2.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-6": https://git.libreoffice.org/core/commit/a74e4ebdfc2e85bf4fec6e8ac7aa2980473e81f3 tdf#99562: Do not ignore last column from matrix It will be available in 7.6.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.