Bug 48392 - ODF: Implementation for svg:linearGradient and svg:radialGradient is missing
Summary: ODF: Implementation for svg:linearGradient and svg:radialGradient is missing
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: odf
Keywords:
: 52068 94588 (view as bug list)
Depends on: 76682 115204
Blocks: 94238 ODF-import Object-Fill 132849
  Show dependency treegraph
 
Reported: 2012-04-06 09:50 UTC by Valek Filippov
Modified: 2023-02-06 13:08 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot in Karbon (6.32 KB, image/png)
2012-04-06 09:50 UTC, Valek Filippov
Details
ODG with gradients (4.45 KB, application/vnd.oasis.opendocument.graphics)
2012-04-06 09:51 UTC, Valek Filippov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valek Filippov 2012-04-06 09:50:25 UTC
Created attachment 59593 [details]
Screenshot in Karbon

Two shapes with red2yellow gradients were made in Karbon.
LO Draw open them as grey to light grey and ignores gradient direction (W-SE and W-E).
Comment 1 Valek Filippov 2012-04-06 09:51:14 UTC
Created attachment 59594 [details]
ODG with gradients
Comment 2 Valek Filippov 2012-07-08 10:02:02 UTC
Same in 3.6beta2
Comment 3 Regina Henschel 2012-08-12 18:47:49 UTC
Calligra uses svg:linearGradient and LibreOffice and Apache OpenOffice use draw:gradient and do not understand the element svg:linearGradient yet. So a default gradient is shown. It is a missing feature.
Comment 4 Regina Henschel 2012-08-12 18:51:34 UTC
*** Bug 52068 has been marked as a duplicate of this bug. ***
Comment 5 Michael Stahl (allotropia) 2012-09-17 10:17:31 UTC
setting "odf" keyword

relevant places in the ODF import filter:

xmloff/source/style/xmlstyle.cxx
xmloff/source/style/GradientStyle.cxx (apparently the existing draw:gradient import)
Comment 6 QA Administrators 2015-01-05 17:52:09 UTC Comment hidden (obsolete)
Comment 7 Regina Henschel 2015-01-06 00:07:38 UTC
The error is still there in Version: 4.5.0.0.alpha0+
Build ID: 5b829710d65310c6082c2c65ec1239515e319a8e
TinderBox: Win-x86@39, Branch:master, Time: 2014-12-02_06:39:26
Locale: de_DE

Still the same reason: missing feature "svg gradient".
Comment 8 QA Administrators 2016-01-17 20:04:20 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2016-01-17 21:04:47 UTC
No progress, "svg gradient" is still missing in Version: 5.2.0.0.alpha0+
Build ID: e413549dc8b5669a806eeabc30c7d6f92723a882
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-12-28_23:26:49
Locale: de-DE (de_DE)
Comment 10 QA Administrators 2017-03-06 14:23:04 UTC Comment hidden (obsolete)
Comment 11 Regina Henschel 2017-09-13 07:23:05 UTC
The svg gradients are still missing in Version: 6.0.0.0.alpha0+
Build ID: 6c68f38bc28bb55a4f0d53b8f38957516d3935d1
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-09-04_22:05:26
Locale: de-DE (de_DE); Calc: group
Comment 12 Regina Henschel 2017-09-13 07:24:01 UTC
*** Bug 94588 has been marked as a duplicate of this bug. ***
Comment 13 Yousuf Philips (jay) (retired) 2017-09-14 13:45:43 UTC
From my duplicate bug (bug 94588): Calligra also uses <svg:radialGradient>
Comment 14 Regina Henschel 2018-01-24 12:56:55 UTC
Change subject to reflect the root cause.
Comment 15 QA Administrators 2019-05-21 02:54:08 UTC Comment hidden (obsolete)
Comment 16 Michael Stahl (allotropia) 2019-05-21 08:57:31 UTC
afaik nobody implemented this
Comment 17 Regina Henschel 2023-02-06 13:07:45 UTC
It was included as option in tender https://blog.documentfoundation.org/blog/2022/02/28/tender-to-cleanup-and-further-improve-odf-conformance-202202-01/
I don't now the state of that tender.