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
JBPM 8836 : Improve Performance of Copy/Cut and Paste Operations #2983
Conversation
Jenkins execute full downstream build |
Hi @inodeman, sonar cloud gate is failed, and some issues looks quite relevant to me. For example missing asserts in tests and possible race condition. It is worth for investigations. Thank you! |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
1 similar comment
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
Hi @inodeman, now Sonar is happy, but some tests failing on Jenkins:
|
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins retest please |
Jenkins execute full downstream build |
Hi @inodeman, so far looks good, but I found one regression. When I am adding several nodes from the pallet starting with the second node you need to perform several clicks on the canvas to add the node. Steps To Reproduce
Actual ResultNode won't be added, you need to click on canvas 1-2 more times to add the node. Expected ResultOne click should be enough to add the node to the canvas. |
Jenkins execute full downstream build |
Jenkins retest please |
Jenkins execute full downstream build |
Jenkins retest please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of interest I briefly checked the code and commented one line.
final List<Element> updatedElements = new ArrayList<>(); | ||
updatedElements.add(mock(Element.class)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this is single element list we could use:
final List<Element> updatedElements = Collections.singletoneList(mock(Element.class));
Hi @inodeman, sorry, but I found a blocker. When I am open two processes at the same time, first process starts to be unusable, if you select and move any node you will see this: I can't reproduce this issue on Master branch, so it should be caused by this PR. Please update this PR and PR for 7.30 branch as well, thank you! Steps To Reproduce*Create Process A
Actual ResultError will be shown on any move of any node in the process you opened as first. Expected ResultYou should be able to open any amount of processes at the same time as you wish. |
…ragging, Creating, Sequence Flow Create and More
Jenkins execute full downstream build |
Jenkins retest please |
Hi @jomarko changed that line in latest commit. @hasys fixed, seems like with the commit to show the properties on startup somehow the forms renderer was sometimes set to null which conflicted with some code. @romartin ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked Copying DMN nodes, GDT cells, seems working.
JBPM 8836 : Improve Performance of Copy/Cut and Paste Operations
JBPM-8835 : Improve performance of response when user performs a click
JBPM-8806 : Stunner - Cursor movement is not smooth
JBPM-8872 : Improve Realtime Drawing When Dragging / Moving Shapes
JBPM-8891: Improve Diagram Loading Times
JBPM-8892: Performance Degradation for Large Models
JBPM-8873 : Adding Nodes to the Canvas is Slow
JBPM-8870 : Stunner - Toolboxes seem to be destroyed and redrawn each time you select the same node
JBPM-8874 : Stunner - Prevent unnecessary instances of Copy, Delete Commands to e created by CDI.
JBPM-8877 : Improve performance of Moving Shapes with Keys
JBPM-8879 : Stunner - Performing Containment takes too long
JBPM-8881 : Stunner - Catching intermediate events are displayed slower compared to other nodes
JBPM-8181 : Stunner - Events docking is very slow when Diagram properties is opened
JBPM-8817 : Prevent Unnecesary Listeners to get added everytime a user performs a click.