Bug 97585 - INSERT: SVG background not shown
Summary: INSERT: SVG background not shown
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:
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2016-02-04 19:43 UTC by Yousuf Philips (jay) (retired)
Modified: 2023-11-02 20:58 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-02-04 19:43:43 UTC
Steps:
1) Open Writer
2) Insert https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/helloworld.svg
3) Notice that it has a white background, while in browsers it has a brown background.

The SVG code has the background color in the style attribute of the <svg> tag.

<svg ... width="200" height="300" style="background-color: #D2B48C;" ... >

Version: 5.2.0.0.alpha0+
Build ID: 513d5c5781ec14f8512432f31290a3d54c8d57df
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-01_10:25:20
Locale: en-US (en_US.UTF-8)
Comment 1 raal 2016-02-05 08:35:17 UTC
I can confirm with Version: 5.2.0.0.alpha0+
Comment 2 QA Administrators 2017-03-06 15:14:18 UTC Comment hidden (obsolete)
Comment 3 Telesto 2017-05-10 16:23:53 UTC
Repro with
Version: 5.4.0.0.alpha1+
Build ID: 9d320ec4d818f86e58a15fd46248026502b1cc94
CPU threads: 4; OS: Windows 6.2; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-09_01:27:12
Locale: en-US (nl_NL); Calc: single
Comment 4 QA Administrators 2018-05-11 02:32:59 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2018-06-19 20:00:19 UTC
still repro in 6.1 beta 2
Comment 6 QA Administrators 2019-06-20 02:49:51 UTC Comment hidden (obsolete)
Comment 7 Regina Henschel 2019-06-20 13:10:29 UTC
The error still exists in Version: 6.4.0.0.alpha0+ (x64)
Build ID: 7aaa7212f2f37606b34d44a039398f05c02d5660
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-11_23:48:14
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 8 QA Administrators 2021-06-20 03:46:55 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2022-07-18 12:59:47 UTC
Still reproducible in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 28daee8a3252e03a67484dc8d3dd26fd73af4826
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 10 BogdanB 2023-11-02 20:58:17 UTC
Also in
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2f2803a77af3bfdab979bd44ce61866e6985d172
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded