Bug 308819

Summary: [Perspectives] Viewparts layout is orgnized wrongly when closing all opened viewpart and then reopen
Product: [Eclipse Project] Platform Reporter: tingel christian <jillhan520>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: pwebster, remy.suen
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=308079
Whiteboard:
Attachments:
Description Flags
4 projects de-RAPed none

Description tingel christian CLA 2010-04-12 06:37:13 EDT
Build Identifier: Build Identifier: 20090920-1017

Hello everyone:

I filed a bug in the RAP bug list, but Ivan told me that the problem existed in the platform too,could you please have a look here?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308079

Thanks a lot and Best Regards!

Reproducible: Always

Steps to Reproduce:
1.Start an rap service with the attached 4 bundles(https://bugs.eclipse.org/bugs/attachment.cgi?id=163807)
2.Start a new session.
3.Click "Open View 1" and "Open View 2" buttons on the toolbar to open these
two view parts;
4.Close View2 and View1 in turn;
5.Click "Open View 3" and "Open View 1" buttons on the toolbar in turn;
6.View parts layout goes crazy~~~

Please check out the video(https://bugs.eclipse.org/bugs/attachment.cgi?id=163807) I uploaded for more detail.

Thanks and Best Regards:)

Tingel Christian
Comment 1 tingel christian CLA 2010-04-12 06:39:56 EDT
Video is here:
https://bugs.eclipse.org/bugs/attachment.cgi?id=163806
sorry for any inconvenience.

Thanks and Best Regards!

Tingel Christian
Comment 2 Paul Webster CLA 2010-04-13 20:54:27 EDT
Created attachment 164794 [details]
4 projects de-RAPed

Launch a standard SDK app with -perspective viewlayouttester.perspective

PW
Comment 3 Paul Webster CLA 2010-04-13 20:56:50 EDT
The perspective is empty (except for the editor area set to visible=false).  The 3 views are simply added using page.showView(*).

If you add them all at once, they all show up in the same stack (good).

If you open view 1 and 2, close 1 and 2, and then open 3, 2, 1:  View 3 is on the left in a stack by itself, and view 1 and 2 are in the same stack (bad).

But if I had to guess, this bug has probably been there for a long time...

PW
Comment 4 tingel christian CLA 2010-04-14 10:41:58 EDT
Thanks Paul:)

I agree with you, I used RAP 1.2 whose RCP counterpart is RCP 3.5.

This bug has hidden itself for such a long time and I think it's might because there is seldom anyone using and orgnizing views in this way~~~

But it has really caused a lot of problems for me:(

Thanks and Best Regards!

Tingel Christian
Comment 5 tingel christian CLA 2010-04-29 06:48:38 EDT
Hi~

Can somebody please have a glance at this problem?

Thanks and Best Regards!

Tingel Christian
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:05:43 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.