-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sub process: visible label(s) after changing to collapsed sub process #1695
Comments
Thanks for the detailed explanation, I can reproduce this 👍 Moving this to backlog |
Root Cause Analysis 🔍This was assumed to have been fixed (cf. #1617). However, the fix only works if you don't move the label, so effectively, it's still broken. Here's what's happening:
However, not 🐒 patching still doesn't fix the issue since the parent will still end up being the root element (cf. https://github.com/bpmn-io/bpmn-js/blob/v9.3.2/lib/features/ordering/BpmnOrderingProvider.js#L134). So we're basically trying to fix the parent of the label in 2️⃣ places. 🤡 I see two possible approaches: 1. Labels are always children of the parents of their label target
2. Move labels to appropriate root element when collapsing a shape
|
I will go for the second approach as it is less intrusive. |
Fixed by #1719. |
Visible label(s) after changing to collapsed sub process with start, task and end event inside.
The label of the start event is even moving far more outside.
This issue occures only by clicking the steps through. Import and Export of the diagram works proberly.
It is tricky to reproduce. See the uploaded gif animation for detailed steps.
Steps to Reproduce
Hint: Its not quite clear if the start event inside the sub process may or may not be moved in order to reproduce the error.
Expected Behavior
Hide the label inside the sub process.
Environment
The text was updated successfully, but these errors were encountered: