Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358710 - [FastViews] Drag Fast View to maximized view stack and restore it, the dragged view is duplicated and corrupt
Summary: [FastViews] Drag Fast View to maximized view stack and restore it, the dragge...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows Vista
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 07:47 EDT by Missing name CLA
Modified: 2019-11-14 03:28 EST (History)
1 user (show)

See Also:


Attachments
This is the RCP Mail example with some changes that demonstrate the problem. (108.16 KB, application/zip)
2011-09-23 11:05 EDT, Missing name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2011-09-23 07:47:59 EDT
Build Identifier: I20100608-0911

If you have a view maximized and you open another view, the newly opened view is shown as fast view. If you now drag the fast view to the maximized view stack it is placed there. When you now restore the stack, there are two instances of the newly opened view. One is located if the view stack where it was dragged, the other one were the original fast view was first put. If you close one of them, the second is corrupt and your application have to forcefully closed.
This only happens with views with a secondaryID not null. You cannot use Window > Show View > Other to reproduce this. (These views always have the secondaryID null).

Reproducible: Always

Steps to Reproduce:
1. Maximize a view.
2. Open another view with a secondary view id (using the showView-method of WorkbenchPage). It is shown as fast view.
3. Drag the newly opened view to the maximized view stack.
4. Restore the maximized view stack.
5. There are two versions of the newly opened view.
Comment 1 Missing name CLA 2011-09-23 11:05:51 EDT
Created attachment 203912 [details]
This is the RCP Mail example with some changes that demonstrate the problem.

I changed only one thing from the RCP mail template. If you press the envelope, the eclipse console view is opened. 
Run the example, maximize the Message-View, press the envelope, drag the console view to the maximized view stack, restore the view stack. Then minimize and restore the view stack again: two console views appear and the application is corrupt.
Comment 2 Lars Vogel CLA 2019-11-14 03:28:40 EST
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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.