Bug 155814 - SVG: use + clip-path doesn't work
Summary: SVG: use + clip-path doesn't work
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Xisco Faulí
URL:
Whiteboard: target:24.2.0 target:7.6.0.0.beta2
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2023-06-13 11:47 UTC by Xisco Faulí
Modified: 2023-07-08 14:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (620 bytes, image/svg+xml)
2023-06-13 11:47 UTC, Xisco Faulí
Details
sample file (632 bytes, image/svg+xml)
2023-06-13 14:59 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2023-06-13 11:47:46 UTC
Created attachment 187885 [details]
sample file

Steps to reproduce:
1. Open attached document
2. Compare it with another viewer

-> Clip-path is not rendered correctly

Reproduced in 

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 244f9cf66bc36f229ccb5712bc8d80166b92266d
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2023-06-13 14:58:05 UTC
This is related to 82c0a363abbceac6464b62c3571aa3225415c7db
Comment 2 Xisco Faulí 2023-06-13 14:59:48 UTC
Created attachment 187893 [details]
sample file
Comment 3 Stéphane Guillou (stragu) 2023-06-14 17:28:11 UTC
Confirmed with:

Version: 7.6.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: be55b15d98c5f059483845a183fcb5ea8023d27c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 4 Commit Notification 2023-06-20 18:53:16 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b0c2e580a1c5b055295d303ebb9c9e905ab4890c

tdf#155814: only check parent style when it has a local css style

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.
Comment 5 Commit Notification 2023-06-20 21:13:34 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/05291e38d53e8be76b690586cff0cf4f067e918f

tdf#155814: only check parent style when it has a local css style

It will be available in 7.6.0.0.beta2.

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.
Comment 6 Stéphane Guillou (stragu) 2023-06-21 15:25:05 UTC
Verified with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 66da786bdd4588b31755058acf46034c2056215c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Thanks Xisco!