vscode-drawio
vscode-drawio copied to clipboard
"More Shapes" selections do not all appear in the shapes sidebar palette
Steps to repeat:
- Create a new .drawio diagram in VS Code
- Use the "More Shapes …" dialog to enable BPMN 2.0 shapes for the diagram
- Access two, three or more of the collapse controls for BPMN shapes that appear in the shapes palette
- Not all expanded shape collections have content
The precise BPMN collections which are not correctly retrieved vary between reproductions of the issue. The screencap below shows a case where the "BPMN General" collection is loaded, but "Tasks", "Choreographies" and "Events" are not. The issue doesn't seem to affect the browser-hosted version of diagrams.net.

In VS Code case I have excluded shapes.min.js from the following files.
- dist/extension/index.js
- dist/extension/index.js.map
Steps to repeat:
- Create a new .drawio diagram in VS Code
- Use the "More Shapes …" dialog to enable BPMN 2.0 shapes for the diagram
- Access two, three or more of the collapse controls for BPMN shapes that appear in the shapes palette
- Not all expanded shape collections have content
The precise BPMN collections which are not correctly retrieved vary between reproductions of the issue. The screencap below shows a case where the "BPMN General" collection is loaded, but "Tasks", "Choreographies" and "Events" are not. The issue doesn't seem to affect the browser-hosted version of diagrams.net.
I think it's the same problem as described here https://github.com/hediet/vscode-drawio/issues/238
Yes, it is
Duplicate of #354. Should be fixed in the insider version.