| Summary: | [DetachedView] View positions need to be resettable | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | C. Lamont Gilbert <clg-business> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 | CC: | mauromol |
| Version: | 3.2.1 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
C. Lamont Gilbert
We might be able to test to ensure that the current 'desktop' is large enough to show the shells and force them into the available area if they aren't. We'd do this -after- reading the stored values. I'm not sure yet whether I'd force the DetachedWindow totally inside the desktop since this would prevent users from having DW's that were intentionally -partially- off the screen...I could just treat the 'origin' of the window as a test; if it's off I force otherwise I don't... I don't think we need to force anything. We just need a way to 'reset' the views. We can reset the perspective and this will bring all of its views back in order. But standalone windows like dialogs and stuff can not be reset without erasing the workspace files. So if I change my setup, I need to be able to reset all the windows to default position. Its a one shot deal. It would be far easier to ensure that the shell is visible than it is to have all dialogs that remember their position to implement a 'reset' operation. Since we have no real idea which dialogs have stored settings resetting them is problematic. I think detached windows get reset when you reset the perspective. The problem is dialog windows. I'm not sure what their proper Eclipse type is. As an example, see the window that opens when you select Team->Change ASCII/Binary property. I tried to reproduce this with Eclipse Luna 20140612-0600 on Linux Mint 16 KDE, dual monitor setup. Following the steps to reproduce, the views moved to the second monitor are shown in the only exising monitor in single-monitor setup after Eclipse restart. If you close Eclipse again, switch again to dual monitor and then start Eclipse, these views are then put back on the second monitor. So, in no way I could get to the point in which a view was off-screen. I tried a couple of monitor configurations and window positioning and the result was the same. So, the new e4 platform may have fixed this at some point. Since I cannot reproduce right now and I cannot determine when it was fixed, I close this as "WORKSFORME". If you still can reproduce (in particular, I cannot test on Windows, where it may behave differently) please reopen. |