hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

"More Shapes" selections do not all appear in the shapes sidebar palette #294

Closed attentive closed 1 year ago

attentive commented 2 years ago

Steps to repeat:

  1. Create a new .drawio diagram in VS Code
  2. Use the "More Shapes …" dialog to enable BPMN 2.0 shapes for the diagram
  3. Access two, three or more of the collapse controls for BPMN shapes that appear in the shapes palette
  4. 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.

image

NobuhikoAbe commented 2 years ago

In VS Code case I have excluded shapes.min.js from the following files.

linnjason678 commented 2 years ago

Steps to repeat:

  1. Create a new .drawio diagram in VS Code
  2. Use the "More Shapes …" dialog to enable BPMN 2.0 shapes for the diagram
  3. Access two, three or more of the collapse controls for BPMN shapes that appear in the shapes palette
  4. 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.

image

DanielTheCoder commented 2 years ago

I think it's the same problem as described here https://github.com/hediet/vscode-drawio/issues/238

RicardoNoerr commented 2 years ago

Yes, it is

hediet commented 1 year ago

Duplicate of #354. Should be fixed in the insider version.