Bug 1236165 - [GSS](6.1.z) Text is automatically selected when using swimlane, tasks and tasks comments and resizing the tasks
Summary: [GSS](6.1.z) Text is automatically selected when using swimlane, tasks and ta...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: CR1
: 6.1.0
Assignee: Tihomir Surdilovic
QA Contact: Kirill Gaevskii
URL:
Whiteboard:
Depends On: 1236144
Blocks: bpms6.1.3-payload
TreeView+ depends on / blocked
 
Reported: 2015-06-26 18:03 UTC by William Antônio
Modified: 2020-03-27 20:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1236144
Environment:
Last Closed: 2020-03-27 20:12:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description William Antônio 2015-06-26 18:03:17 UTC
+++ This bug was initially created as a clone of Bug #1236144 +++

Description of problem:

If we have a process with a swimlane and in this swimlane afew tasks with a comment and then we resize the tasks (most of the times to its smallest size), all the text in the process design get selected and it unselected only when we click on the process name.

Version-Release number of selected component (if applicable):
n/a

How reproducible:
Always (but require patience)

Steps to Reproduce:
1. Create a process;
2. Add a swimlane to it and a few tasks on the swimlane and a comment for a few tasks;
3. Resize a task to its smallest size (or keep resizing it: increasing and decreasing its size)

Actual results:
All the texts get selected and it is hard to make it unselected.

Expected results:
No text in the process should get selected.

Additional info:
The workaround is to click on the process name and all the texts will be unselected. 

Attached you can find a BPMN of a simple process I used to reproduce this and a screenshot.

Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information: 


Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from JBoss Product and Program Management on 2015-06-26 12:40:06 EDT ---

Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 1 Tihomir Surdilovic 2015-08-19 02:00:19 UTC
When dragging(resizing) a node we cannot suppress the browser selection. This issue can happen not only with lanes, but with subprocesses, as well as even single tasks on the canvas. The browser events cannot be disabled and the selection of labels (text) happens.

Two things were done to fix this issue:

1) ALL labels on the process are hidden during resizing of a node on the canvas
2) When resizing is finished all labels are shown again
3) The text on the top-left corner of the canvas is also hidden during node resizing and shown again when resizing is complete


This should fix the problem with the selection done by browser not being undone after resizing.




master commit: https://github.com/droolsjbpm/jbpm-designer/commit/6f3ddb587
6.3.x: https://github.com/droolsjbpm/jbpm-designer/commit/3482b477d4b67e7283a6e32b64fa447515f5509a
6.2.x : https://github.com/droolsjbpm/jbpm-designer/commit/b52f1036da1997d40a1e097a036a84bbff25a3e0

Comment 3 Kirill Gaevskii 2015-09-02 11:56:31 UTC
Works good except some problems in IE10 and IE11 with Undo button. See BZ 1249559 comment 3. Verified.


Note You need to log in before you can comment on or make changes to this bug.