Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 953875

Summary: Rearrange position of any tab caused that designer disappears
Product: [Retired] JBoss BPMS Platform 6 Reporter: Sona Mala <smala>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Sona Mala <smala>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: atangrin, etirelli, kverlaen, rrajasek, rzhang, smala, vigoyal
Target Milestone: ER 7Keywords: TestBlocker
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Rearranging the position of any tab using the "Drag to rearrange a tab using compass" feature makes the designer screen disappear. Consequence: Unable to edit or work on the process which is open as the designer disappears. Fix: The designer reloads after the tabs are rearranged without disappearing or displaying an empty space. Result: Rearranging a tab reloads the designer showing the process and any changes made remain unchanged.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:10:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1024873    
Attachments:
Description Flags
Screenshot - ER4
none
Screenshot - ER5
none
Screenshot - ER7 none

Description Sona Mala 2013-04-19 11:58:34 UTC
Description of problem:
I tried to rearrange default layout. When I dragged any tab and use "compass" to declare a new position of this tab (East,West,North,South) then after I dropped this tab the designer disappears.

Version-Release number of selected component (if applicable):
6.0.0 DR3, Beta1

How reproducible:
any time when use compass for position a tab

Steps to Reproduce:
1. open more than one tabs (I use one bpmn2 process and 2 text editors)
2. drag a text editor
3. position it to the EAST
4. resize the east part (more comfortable)
5. click on bpmn2 process
  
Actual results:
no designer, just empty space. The element body of designer contains just empty element <div id="Definition"></div>

Expected results:
Designer is open.

Additional info:

Comment 1 Sona Mala 2013-04-19 12:01:29 UTC
Same problem if I cancel the new layout after I refresh bpmn2 tab

Comment 3 Tihomir Surdilovic 2013-09-26 11:52:36 UTC
Please retest this. Should be fixed alongside the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1006943.

Comment 7 Kanchan Desai 2013-10-15 05:10:29 UTC
Hi Sona,

Can you please share some more info on this bug, probably the fix or the result.

Comment 8 Sona Mala 2013-10-15 13:00:40 UTC
Verified for ER4.

Now, whenever the user rearranges tabs (see attached screenshot), the Designer is reloaded and shows an process (no empty "body" as it was reported).

Comment 9 Sona Mala 2013-10-15 13:02:32 UTC
Created attachment 812509 [details]
Screenshot - ER4

Comment 10 Kanchan Desai 2013-10-16 06:11:56 UTC
Hi Sona,

Doc Text has been added. Can you please review the CCFR.

Comment 11 Sona Mala 2013-12-04 09:15:28 UTC
Created attachment 832473 [details]
Screenshot - ER5

Regression - ER5 contains same problem. See this screenshot

Comment 12 Tihomir Surdilovic 2013-12-16 18:53:29 UTC
fixed in designer master and 6.0.x branches

Comment 13 Kris Verlaenen 2013-12-18 14:24:49 UTC
Tiho, it seems that when designer is reloaded (due to some rearrangement of the screens), it is automatically saving the changes first (I assume to make sure it looks the same after refresh and you don't lose your changes), but shouldn't the user be asked if he wants to save his changes or not?

Comment 14 Tihomir Surdilovic 2013-12-23 16:47:30 UTC
Asking is only possible when closing the editor with the "X" button. In this BZ case (rearranging) there is no UF event to be caught so we save in order for users not to loose their work. I don't think that rearranging should even ask users this question as all they want to do is move what they currently have to another location, but with the issue of frames reloading in browsers on dom move (which is how its handled on technical side in UF) this is really best we can do (just save and user really does not see this anyways and just continues with their work).

Comment 15 Sona Mala 2014-01-03 14:47:38 UTC
Created attachment 844974 [details]
Screenshot - ER7

Comment 16 Sona Mala 2014-01-03 14:48:38 UTC
Verified for ER7.