View Issue Details

IDProjectCategoryView StatusLast Update
0003929NoesisGUIStudiopublic2025-04-02 11:11
Reporterdstewart Assigned Tojsantos  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product VersionStudio_Alpha 
Target VersionStudio_Beta 
Summary0003929: SVGs Containing SVG 'Style' Attributes Are Not Interpreted by Studio
Description

Currently, if an SVG is exported from a vector editor (such as Illustrator), and the SVG is exported according to a certain configuration in which SVG 'Styles' are used in their syntax, they will not be rendered when imported into Studio.

Note that this issue only occurs when using the 'Import SVG Paths' context menu option, and when the artwork is instead copy-pasted, it displays as expected (see attached image)

Steps To Reproduce

Repro Steps:

1) Download the attached 'StyledSVGSample.svg' file.
2) Open it in any external editor, and inspect it to take stock of its appearance.
3) Select the artwork, and copy it to the clipboard.
4) Open Noesis Studio, and paste the SVG in the clipboard to the Stage.

Observe how the artwork renders in 1:1 fidelity to the source within a Canvas.

5) Right-click on the RootGrid, and from the context menu, navigate to 'Edit', then select 'Import SVG Paths'.
6) Navigate to the 'StyledSVGSample.svg' file, and select it.

Observe how the artwork comes in geometrically accurate, but comes in all-black, missing all of the colours defined in the SVG's Style attributes.

Expected Results: SVG Style Attributes are able to be interpreted by SVG on import. I don't think they necesarily need to be converted into Resource colours, but maybe writing the Style inline to each Path may be a decent easier solution.

Attached Files
StyledSVGSample.svg (15,480 bytes)   
StyledSVGSample.svg (15,480 bytes)   
SVGCopyPasteVsImport.jpg (253,884 bytes)   
SVGCopyPasteVsImport.jpg (253,884 bytes)   
PlatformAny

Activities

Issue History

Date Modified Username Field Change
2025-02-04 13:05 dstewart New Issue
2025-02-04 13:05 dstewart File Added: StyledSVGSample.svg
2025-02-04 13:05 dstewart File Added: SVGCopyPasteVsImport.jpg
2025-02-04 13:42 jsantos Assigned To => jsantos
2025-02-04 13:42 jsantos Status new => assigned
2025-02-04 13:42 jsantos Target Version => Studio_Alpha
2025-04-02 11:11 sfernandez Product Version Studio_Path => Studio_Alpha
2025-04-02 11:11 sfernandez Target Version Studio_Alpha => Studio_Beta