Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361844 - [DetachedViews] Detached Views disappear upon exit from Eclipse in dual monitor situation, then can't get them back
Summary: [DetachedViews] Detached Views disappear upon exit from Eclipse in dual monit...
Status: CLOSED DUPLICATE of bug 358627
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Eric Moffatt CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 14:14 EDT by Steve Cohen CLA
Modified: 2011-11-24 08:49 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Cohen CLA 2011-10-24 14:14:57 EDT
Build Identifier: 20110916-0149

Detach a view such as 'Progress' or 'Console' from the main window and exit eclipse.  Upon restarting workspace, Show->View will not cause the view to redisplay, at any case, it's invisible, and it's not clear how, other then resetting the perspective that you can bring it back into visibility.

If there IS a way to bring it back, that would be an excellent workaround.  I'd rather not reset the perspective.

Reproducible: Always

Steps to Reproduce:
1.Detach View From main window.
2.Exit Eclipse
3. When return, view is invisible and "Show View" doesn't make it visible.
Comment 1 Remy Suen CLA 2011-10-24 14:24:09 EDT
Check your workspace's log for errors.
Comment 2 Eric Moffatt CLA 2011-10-24 14:58:16 EDT
I just tried this in I20111011-2000. Dragged the Outline view into a DW and exited/restarted. It appeared to work in this case...
Comment 3 Steve Cohen CLA 2011-10-25 08:55:45 EDT
(In reply to comment #2)
> I just tried this in I20111011-2000. Dragged the Outline view into a DW and
> exited/restarted. It appeared to work in this case...

Hmm, I've tried replicating it and I can't.  Nonetheless I still have the problem.  In my Java EE perspective, I cannot make the Progress View show visible.  In other perspectives (e.g. Java) I can.  And I can start, close, reopen and everything is as it was.  But not in the Java EE perspective.

A few other factors that may be relevant to my situation:

I use a dual monitor setup.  And the computer is a laptop that sometimes moves to other locations that either don't have a second monitor or have the locations of the screens reversed.

Sometimes I have two Eclipse windows open at the same time (Window -> Open New Window).

And no, there's nothing in the log file showing any errors.  I am guessing that Eclipse has the file appearing in some location that doesn't actually exist anymore.

Short of resetting the perspective to default views can anything else be done to get it back?
Comment 4 Steve Cohen CLA 2011-10-25 09:00:22 EDT
> Short of resetting the perspective to default views can anything else be done
> to get it back?

Duh.  Temporarily turned off my second monitor and it came right back.  So this is a problem but it seems restricted to the dual monitory situation.
Comment 5 Steve Cohen CLA 2011-10-25 09:05:33 EDT
(In reply to comment #0)
> Build Identifier: 20110916-0149
> 
> Detach a view such as 'Progress' or 'Console' from the main window and exit
> eclipse.  Upon restarting workspace, Show->View will not cause the view to
> redisplay, at any case, it's invisible, and it's not clear how, other then
> resetting the perspective that you can bring it back into visibility.
> 
> If there IS a way to bring it back, that would be an excellent workaround.  I'd
> rather not reset the perspective.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.Detach View From main window.
> 2.Exit Eclipse
> 3. When return, view is invisible and "Show View" doesn't make it visible.

New Steps to Reproduce:
1.  Have dual monitor setup. 
2.  Start eclipse and move it onto the secondary monitor.
3.  Detach Progress View From main window.
3.  Exit Eclipse
4.  (possibly necessary) switch dual monitor configuration so that right and left monitors are reversed.
5.   Restart eclipse
6.   When return, view is invisible and "Show View" doesn't make it visible.
7.   Turn off dual monitor setup.
8    Everything returns to normal.
Comment 6 Remy Suen CLA 2011-11-22 16:42:14 EST
Dean, can you reproduce the problem on your two monitors?
Comment 7 Dean Roberts CLA 2011-11-24 08:49:38 EST
With my testing I believe that this defect has the same cause, and same solution as bug 358627.

That defect does exist in the build this defect is reported against.

Additionally, I can not reproduce it with a currentish build ( I20111108-2200 which contains the fix for 358627) but I CAN reproduce it on M2 (I20110916-1615).

I will close as a duplicate of 358627.  Please re-open if you see this behaviour on a build containing that fix.

*** This bug has been marked as a duplicate of bug 358627 ***