Red Hat Bugzilla – Bug 1268754
Docker of edge is not positioned relatively to swimlane
Last modified: 2016-04-19 11:04:04 EDT
Description of problem:
If there is used a docker on some edge inside a swimlane, this docker is not positioned relatively to the swimlane. It means, if user moves/resizes the swimlane, the docker keeps its position.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create process with swimlane
2. Put two activities inside the swimlane
3. Connect these two activities with sequence flow
4. Add docker to the sequence flow
5. Click on the swimlane and move or resize it
Both swimlane and elements are moved or resized but position of the docker is not changed
Behaviour should be the same as if user moves two activities between the edge with docker is. If user moves only two activities, between the edge with docker is, the position of docker is changed correctly.
Created attachment 1148540 [details]
swimlane with dockers inside
Hello Tihomir. I was investigating this issue a little bit more. If you import process from the attachment 1148540 [details] and then you move swimlane which is there, you will see that dockers inside of swimlane are not moving.
I was able to resolve this problem by this code change:
But this code change doesn't work properly, if there are used data objects and associations connected with them have dockers. My code change would be enough for official BxMS product, as there data objects are prohibited.
All described behavior holds true also if you replace swimlane with subprocess.
I hope that proposed code change will help you to resolve this issue.
Jozef- your changes look correct. We stopped using the layout manager for this so the code you propose should be uncommented as you did.
Feel free to do a pull request for this.