Description of problem: When an element in the process designer is locked using the "lock process part" feature then it's not possible to select a single element using the left mouse button and unlock it. Version-Release number of selected component (if applicable): Upstream Beta5 How reproducible: 1) create a process containing a start node and a end node. 2) select the whole process and use the lock feature. 3) now try to select the start node using the left mouse button
Looks like this may actually be intended behaviour. Is the lock mechanism reached by preventing the user to show the properties panel? See https://bugzilla.redhat.com/show_bug.cgi?id=983732.
Found in DR6 (Beta5).
You have to highlight the node and click the unlock button to unlock it. Same works if you highlight several locked nodes.
Any particular reason why viewing the properties of a locked element is forbidden?
I really think it should be possible to select a node using the left click as that is the most common way to do so. Highlighting (hold_left_button-select_elements-release_left_button) is IMHO only an advanced way to use when you want to select more elements without using the ctrl key.
Internal Whiteboard: Beta Blocker → Blocker Not critical for Beta, but need to address for GA
A node that is locked should not be selectable. You can still unlock it by dragging over it. The properties are hidden because of another BZ that requested that feature :) I don't think making locked nodes selectable is the way to do.
The issue is that if you can select the node then can also edit it. And you can select it by dragging over it (as you said). That means that the node is not really locked. It's possible that I just don't understand this feature. What is it supposed to do? Is it a traditional lock/unlock which is supposed to prevent a user from modifying the nodes properties? Or is it something else?
Tiho, Can you take another look at this issue and clarify ? I am completely lost in the description.
Prakash, have a look at the video attached here: https://bugzilla.redhat.com/show_bug.cgi?id=1020704 It shows the lock feature. I believe that should put things into perspective.
Here is the article http://surdilovic.wordpress.com/2012/05/19/jbpm-designer-locking-and-unlocking/ Locked nodes have to be "selectable" via dragging over one+ nodes to they can be unlocked. This feature helps during development of the process model for a single user or multiple users that collaborate over it. We fixed the properties not being editable for locked nodes. That IMO fixes the issue really.
I think it's confusing but if that's the design then so be it. I guess that if customers won't like it then we can still sit down discuss things over and come up with improvements. I will verify and close when the fix will make it into a build. Thank you Tihomir.
Verified on ER5.
This BZ has been part of the 6.0.0 stream.