Bug 579579 - SVG shapes with images for custom DSL model elements show only a white box
Summary: SVG shapes with images for custom DSL model elements show only a white box
Status: UNCONFIRMED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.1.0   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-05 06:48 EDT by Toni Siljamäki CLA
Modified: 2022-04-13 11:55 EDT (History)
3 users (show)

See Also:


Attachments
CiscoRouter SVG-shape with png image. (221.58 KB, image/svg+xml)
2022-04-05 06:48 EDT, Toni Siljamäki CLA
no flags Details
Zipped CiscoRouter SVG-shape with png image. (165.92 KB, application/x-zip-compressed)
2022-04-05 06:57 EDT, Toni Siljamäki CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Siljamäki CLA 2022-04-05 06:48:32 EDT
Created attachment 288375 [details]
CiscoRouter SVG-shape with png image.

Custom SVG shapes with png images for DSL model elements (activated by CSS) have stopped working in 2022-03. The shapes with image become just white boxes in the class/component/activity diagram.

SVG shape with only a path-figure works fine.
Have not tested this for SVG-shape with gif/bmp image.

SVG shapes with png images NOT working in 2022-03:
Papyrus for UML	6.1.0.202203090938
Papyrus for UML	6.2.0.202204050301

SVG shapes with png images works fine in 2021-12:
Papyrus for UML	6.0.0.202112011019
...and all previous versions of Papyrus.

Attached is an example shape with different typical Papyrus-specific layers.
The problem is the same (= white box) both when replacing a model element with a DSL-specific SVG shape like in the attached shape and when adding a shape to an element.

Regards/Toni
Comment 1 Toni Siljamäki CLA 2022-04-05 06:57:08 EDT
Created attachment 288376 [details]
Zipped CiscoRouter SVG-shape with png image.