Download it now!
Bug 97657 - INSERT: SVG clippath mask not supported
Summary: INSERT: SVG clippath mask not supported
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.0.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.2.0
Keywords: filter:svg
: 116205 (view as bug list)
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2016-02-08 20:01 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-09-19 12:28 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
svg file (38.40 KB, application/zip)
2016-02-08 20:01 UTC, Yousuf Philips (jay) (retired)
Details
another sample (894 bytes, image/svg+xml)
2016-02-17 11:55 UTC, Xisco Faulí
Details
another sample 2 (6.74 KB, image/svg+xml)
2016-02-23 16:23 UTC, Xisco Faulí
Details
another sample 3 (4.14 KB, image/svg+xml)
2016-02-23 16:52 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-02-08 20:01:39 UTC
Created attachment 122456 [details]
svg file

Steps:
1) Open Writer
2) Unzip attached zip file
3) Insert m/masking-path-04-b.svg
4) Notice that their isnt a second 'Clip Test' and its text isnt masked by the displayed background.

The relevant SVG code is below.

<defs>
  <clipPath id="sample" clipPathUnits="userSpaceOnUse">
    <text x="45" y="270" font-size="100" font-family="Impact">Clip Test</text>
  </clipPath>
</defs>

<g>
  <image xlink:href="../images/bluesquidj.png" preserveAspectRatio="none" x="20" y="170" width="410" height="160" clip-path="url(#sample)"/>
</g>

Version: 5.2.0.0.alpha0+
Build ID: 6d68e88a0fc5a54bbb826379163bd0b9c6eae0fb
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-08_08:05:38
Locale: en-US (en_US.UTF-8)
Comment 1 Buovjaga 2016-02-11 12:04:02 UTC
Confirmed.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: a6f876d45bd4e41a7143594a6cb11b6893a0f620
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-02-11_00:07:38
Locale: fi-FI (fi_FI)
Comment 2 Xisco Faulí 2016-02-17 11:55:33 UTC
Created attachment 122721 [details]
another sample
Comment 3 Xisco Faulí 2016-02-23 16:23:35 UTC
Created attachment 122917 [details]
another sample 2
Comment 4 Xisco Faulí 2016-02-23 16:52:28 UTC
Created attachment 122920 [details]
another sample 3
Comment 5 Xisco Faulí 2016-03-11 11:10:24 UTC
sample 2 crashes after d5649ae7b76278cb3155f951d6327157c7c92b65. I'm into it.
Comment 6 Commit Notification 2016-03-30 08:44:57 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=2c29716d349353997bf7cdde63cd9f867c5baeb6

tdf#97657: SVGIO: Don't iterate over parent's clip-paths...

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.
Comment 7 Xisco Faulí 2016-09-15 21:30:41 UTC
sample 2 is still wrong
Comment 8 V Stuart Foote 2018-03-05 19:18:32 UTC
*** Bug 116205 has been marked as a duplicate of this bug. ***
Comment 9 QA Administrators 2019-03-06 03:42:47 UTC Comment hidden (obsolete)
Comment 10 tomaskeb 2019-07-15 18:01:18 UTC
Still present in 6.3.0.1

Verze: 6.3.0.1 (x64)
ID sestavení: 41ac97386aba908b6db860cfb4cfe2da871886ae
Vlákna CPU: 4; OS: Windows 10.0; Vykreslování UI: GL; VCL: win; 
Národní prostředí: cs-CZ (cs_CZ); UI-Language: cs-CZ
Calc: threaded