Bug 152997

Summary: SVG: circle based upon combination of solid lines + dashes, only renders as solid line (GDI+ issue)
Product: LibreOffice Reporter: Telesto <telesto>
Component: graphics stackAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: Armin.Le.Grand, gang65, kelemeng, LibreOffice, raal, stephane.guillou
Priority: medium Keywords: bibisected, bisected, regression
Version: 7.0.0.3 release   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=153025
https://bugs.documentfoundation.org/show_bug.cgi?id=130478
https://bugs.documentfoundation.org/show_bug.cgi?id=155211
Whiteboard:
Crash report or crash signature: Regression By: Armin Le Grand
Bug Depends on:    
Bug Blocks: 88278    
Attachments: Sample document showing problem

Description Telesto 2023-01-12 21:30:24 UTC
Description:
SVG: circle based upon combination of solid lines + dashes, only renders as solid line

Steps to Reproduce:
1. Download https://upload.wikimedia.org/wikipedia/commons/c/ce/Plutchik-wheel.svg
2. insert the image in draw/writer

Actual Results:
Solid circles

Expected Results:
It's solid + dashes (see web browser rendering or older version of LibreOffice)


Reproducible: Always


User Profile Reset: No

Additional Info:
Found in
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

also in
Version: 7.0.7.0.0+ (x64)
Build ID: 626ea4e62a3e5005fe9825923a1c0c5bdb61cc08
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

dashes + solid lines properly rendered with
Version: 6.1.6.3
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 1 Rainer Bielefeld Retired 2023-01-13 15:48:03 UTC
REPRODUCIBLE with Server Installation of Version: 7.5.0.0.alpha0+  Build ID: 2a7fcaf582df3ada57ca519b50e29011973a1b6f
CPU-Threads: 12; BS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: Calc: threaded |  Elementary Theme  |  Special devUserProfile  (based on my normal one)
Comment 2 Rainer Bielefeld Retired 2023-01-13 15:49:27 UTC
Created attachment 184634 [details]
Sample document showing problem
Comment 3 Rainer Bielefeld Retired 2023-01-13 15:53:22 UTC
Query <https://bugs.documentfoundation.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs152997&sharer_id=19321> shows some possibly related Bugs.
Comment 4 Rainer Bielefeld Retired 2023-01-13 16:45:28 UTC
a0)  NOT yet reproducible with Server Installation of Version: 6.0.7.3 (x64) 
Build-ID dc89aa7a9eabfd848af146d5086077aeed2ae4a5; CPU-Threads: 12; BS: Windows 10.0; UI-Render: GL; Gebietsschema: de-DE (de_DE); Calc: CL, Special devUserProfile

a1) NOT yet reproducible with Server Installation of Version:  4.0.0.3 WIN10
Build-ID  7545bee9c2a0782548772a21bc84a9dcc583b89;  Special devUserProfile

a) I gambled around a little with Anti Aliasing, Open GL. No influence to my result NOT reproducible
Comment 5 raal 2023-02-01 17:18:55 UTC
It works in Linux, but I see chinese characters in the picture, It's different bug. I can reproduce in windows.
Comment 6 raal 2023-02-01 18:48:59 UTC
This seems to have begun at the below commit.
Adding Cc: to Armin Le Grand ; Could you possibly take a look at this one?
Thanks
 7cb578a0cfaf873a5b417879b9bb82cc59ec91ea is the first bad commit
commit 7cb578a0cfaf873a5b417879b9bb82cc59ec91ea
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Feb 11 12:31:14 2020 -0800

    source c3e098483f4db12e9502c6cbc056e3d7498b7b6c

https://git.libreoffice.org/core/+/c3e098483f4db12e9502c6cbc056e3d7498b7b6c
Comment 7 Stéphane Guillou (stragu) 2023-11-06 11:15:35 UTC
Removing "filter:svg", and moving the "graphics stack" component as this touches on GDI+.
Keeping "SVG Import" meta for discoverability, as it looks like an import error to users.

Armin, any thoughts?