vscode-drawio icon indicating copy to clipboard operation
vscode-drawio copied to clipboard

Standard BPMN 2.0 Shapes fail to load

Open LRelar opened this issue 3 years ago • 7 comments

+More Shapes->Business->BPMN 2.0 These shapes fail to load its group contents when trying to expand group. The behavior depends on order you attempt to expand the group. Trying to open BPMN 2.0 Tasks or BPMN 2.0 Choreographies foremost corrupts whole BPMN 2.0 Shapes set.

LRelar avatar Jul 02 '21 12:07 LRelar

This is exactly the problem that let me investigate drawio - and found out that there is a problem in this implementation

  • I don't have any clue on how identical these parts are in code version and https://github.com/jgraph/drawio
  • Is it a question of copying some directories with graphical elements and rebuild?
  • I also see that the menu system is not identical - still I got no clue weather this is necessary to be different or it just happened

anderskristian avatar Jul 15 '21 17:07 anderskristian

I don't have any clue on how identical these parts are in code version and https://github.com/jgraph/drawio

They should be identical. See the submodule drawio in https://github.com/hediet/vscode-drawio.

I also see that the menu system is not identical - still I got no clue weather this is necessary to be different or it just happened

I had to remove dysfunctional menu items (such as print etc.).

If more people run into this particular issue, I will do a more depth investigation.

hediet avatar Jul 15 '21 19:07 hediet

Now I have "learned a little of how to build" - and it seems that elements are added as git submodules It is a little strange that BPMN 2.0 is not in 1.6.6

Does the project miss a script to get the correct git submodules ???

anderskristian avatar Jul 15 '21 20:07 anderskristian

Repro Steps

I've the same issue that BPMN 2.0 Shapes are missing when

  • using vscode v1.58.2 (user setup)
  • using extension v1.6.1.
  • using Vscode-drawio: Offline mode => checked image

missing shapes: image

Output from development console inside vscode: image


Workaround

If I'm switching to online mode, it seems working so far

  • using Vscode-drawio: Offline mode => unchecked image

shapes are present image


Hope details will help ...

DanielTheCoder avatar Jul 20 '21 15:07 DanielTheCoder

Not only bpmn. I don't use draw.io to draw simple diagrams (in strictly defined notations only). Archimate 3.1 and other libraries don't work either. Also, adding a new library can break the display of an existing library. It will be very cool if you can fix everything )

niritum avatar Jul 25 '21 13:07 niritum

Any update on this issue? Would be cool if fixed. Great tool!

BartNetJS avatar May 10 '22 07:05 BartNetJS

No updates, but will look into it soon!

hediet avatar May 10 '22 09:05 hediet

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

hediet avatar Jan 13 '23 01:01 hediet