Bug 953875 - Rearrange position of any tab caused that designer disappears
Summary: Rearrange position of any tab caused that designer disappears
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER 7
: 6.0.0
Assignee: Tihomir Surdilovic
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks: 1024873
TreeView+ depends on / blocked
 
Reported: 2013-04-19 11:58 UTC by Sona Mala
Modified: 2014-08-06 20:10 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-08-06 20:10:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot - ER4 (126.12 KB, image/png)
2013-10-15 13:02 UTC, Sona Mala
no flags Details
Screenshot - ER5 (106.89 KB, image/png)
2013-12-04 09:15 UTC, Sona Mala
no flags Details
Screenshot - ER7 (104.02 KB, image/png)
2014-01-03 14:47 UTC, Sona Mala
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1049284 0 high CLOSED When solving a conflict, Reopen saves the process and closes Designer 2021-02-22 00:41:40 UTC

Internal Links: 1049284

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.


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