Bug 245605 - [FastView] "Ghost" views created when dragging new tabs in minimized groups
Summary: [FastView] "Ghost" views created when dragging new tabs in minimized groups
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 20:02 EDT by John Klinger CLA
Modified: 2019-09-06 15:32 EDT (History)
0 users

See Also:


Attachments
GIF movie of the steps to reproduce the problem. (596.84 KB, image/gif)
2008-09-12 20:23 EDT, John Klinger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Klinger CLA 2008-08-28 20:02:33 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1. Start eclipse, choosing a new Workspace in the Launcher.
2. Close the Welcome screen by clicking on the Workbench icon.
3. Close all views except the Task List (and the editor, which can't be closed).
4. Use the menu bar to select Window / Show View / Console.
5. Click on the "maximize" icon in the new Console view.
6. Use the "Open Console" icon on the right side of the Console view to select "New Console View". Don't do anything until the next step, but note that the new Console view was created next to the minimized Task List.
7. Drag and Drop the tab of the new Console view to the old Console view, so that both tabs are together.
8. Drag the tab of the new Console view to the right, as if to place it to the side of the old Console view. While dragging, the minimized views will be restored. Now that the minimized views are restored, drop the Console tab anywhere.

Note that there are now three Console tabs. Two of these have the same primary and secondary ids [if it is the same problem that we are experiencing]. This causes the view contents to be displayed on one, but not the other [although it can switch between the two]. Also, the ghost Console view cannot be closed.

Optionally, the same result will occur if step 8 was "Click the restore icon on the minimized Task View".

More information:
I am unable to share our code, but was able to reproduce the errors using the basic Eclipse Platform development environment. 

I found this problem in our application when using multiple-instance Views created using showView() and unique secondary IDs. Hence, the steps to reproduce use the Console view, which I suspect uses a similar mechanism. Regardless on if the same method of creation is used, the aberrant behavior is the same as what we experience.

The steps to generate this problem can be used for both M20071023-1652, which we use in our production system, and I20080617-2000, which I downloaded specifically to determine if this was fixed.

A similar problem will be discussed in another bug report.
Comment 1 Eric Moffatt CLA 2008-09-12 15:36:45 EDT
John, I'm trying to reproduce this but I'm running into issues:

For me hitting the 'Workbench' icon gets me to the Java perspective (which doesn't -have- a "Tasks" view).

If I switch to the Resource perspective and proceed then when I open the 'Console' view it appears in the same stack as the Tasks view (which is correct) so there's no 'minimized' Tasks view.

Which perspective do you end up in when you hit the 'Workbench' icon?
Comment 2 John Klinger CLA 2008-09-12 20:23:07 EDT
Created attachment 112475 [details]
GIF movie of the steps to reproduce the problem.

Hopefully, the attached movie will help. It doesn't show the pointer, but you should be able to follow the previous steps. The only exception is that I deleted a couple of directories to ensure I started clean [~/.eclipse and the workspace], and I included a snapshot of the version dialog.
Comment 3 Eric Moffatt CLA 2008-09-13 12:56:58 EDT
Good clip! I think I can rig up a perspective that'll act as the one shown does (it's not the java perspective, I'm not sure where it came from but it shouldn't matter).

thanks...
Comment 4 Eric Moffatt CLA 2009-03-05 14:45:42 EST
Moving to triage (for now), re-target to 3.6 once it becomes available...

Comment 5 Eclipse Webmaster CLA 2019-09-06 15:32:29 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.