Bug 118087 - FILEOPEN SVG with greyscale filter opens with colors
Summary: FILEOPEN SVG with greyscale filter opens with colors
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
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 SVG-filters
  Show dependency treegraph
 
Reported: 2018-06-10 00:08 UTC by Aron Budea
Modified: 2023-06-30 14:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Very simple greyscale SVG (2.05 KB, image/svg+xml)
2018-06-10 00:08 UTC, Aron Budea
Details
Screenshot in Writer (37.56 KB, image/png)
2018-06-10 00:13 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2018-06-10 00:08:19 UTC
Created attachment 142631 [details]
Very simple greyscale SVG

The attached SVG was created in Impress, a blue box was added to the canvas, and the image was converted to greyscale using greyscale filter.

In LO the image is imported as blue, but in browsers it appears ~black.

Observed using LO 6.1 beta1 & 3.3.0 / Windows 7.
Comment 1 Aron Budea 2018-06-10 00:13:29 UTC
Created attachment 142632 [details]
Screenshot in Writer
Comment 2 MM 2018-06-10 09:52:18 UTC
Confirmed on ubuntu 16.04 x64 with Version: 6.2.0.0.alpha0+
Build ID: c4c56de1b0e62ec866b519b2b24c5e805f0a86d3
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-06-09_00:23:35
Locale: en-US (en_US.UTF-8); Calc: threaded

Strangely the preview image *is* showing the correct color.
Comment 3 Jean-Baptiste Faure 2018-06-10 10:30:17 UTC
Confirmed in LibreOffice 6.1.0.0.beta1+ and master under Ubuntu 16.04 x86-64.

Best regards. JBF
Comment 4 QA Administrators 2019-06-11 03:01:15 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-06-11 03:49:11 UTC Comment hidden (obsolete)
Comment 6 Jean-Baptiste Faure 2021-06-12 21:03:49 UTC
Nothing changed, bug still reproducible with LO 7.1.5.0.0+ and master 7.2.0.0 alpha1, both build at home under Ubuntu 20.04 x86-64.

Best regards. JBF
Comment 7 QA Administrators 2023-06-13 03:12:00 UTC Comment hidden (obsolete)
Comment 8 Commit Notification 2023-06-30 12:11:53 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

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

tdf#118087: set matrix as default value for type

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 9 Commit Notification 2023-06-30 14:24:17 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/870ee9559fa761e8c32f67622c7c3b9796d5f300

tdf#118087: set matrix as default value for type

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.