Subprocesses incorrectly overlapping in some scenarios

Hi,

When using the system and having maps that include sub processes, we have noticed that occasionally when you expand a subprocess, other sub processes will overlap it when they should not (see linked video below).

Example video

example_overlap.bpmn (9.0 KB)

I have made a bpmn diagram that demonstrates the issue. If you open the diagram in the demo tool you provide, and then immediately expand the subprocess named ‘subprocess 1’ you will see that the subprocess named ‘overlap’ appears on top of it. you can consistently recreate this by expanding and collapsing ‘subprocess 1’, WITHOUT moving it. If you move it, then expand again, the correct order is shown, and ‘overlap’ is hidden. If you move ‘overlap’ after that, then expand subprocess 1 again, the issue returns. Is there something that can be done to prevent this behaviour?

Thanks in advance for your help

Ben

Hi @Ben_Gallienne,

this seems to be indeed a bug, I was able to reproduce this in our demo. Can you maybe create a bug report in bpmn-js with the detailed information so we can investigate this?

Hi @Niklas_Kiefer,

No problem, I have opened an issue as requested, you can find it here.

Thanks!

Ben