Community
Participate
Working Groups
Build Identifier: I20110529-2200 I get a ClassCastException with a detached window. java.lang.ClassCastException: org.eclipse.e4.ui.model.application.ui.basic.impl.TrimmedWindowImpl cannot be cast to org.eclipse.e4.ui.model.application.ui.basic.MPartSashContainerElement Reproducible: Always Steps to Reproduce: 1. Detatch a java editor window 2. Drag the tab of the detached editor so that the green placement box is shown in the same detached window. 3. After letting go of the mouse button an error is displayed.
Created attachment 197236 [details] detached window before classcast exception is thrown. A picture of the detached window
Created attachment 197238 [details] log of detached window exceptions
If I drag this detached window back to Eclipse main window, I get an AssertionFailedException. The window is placed in the main window, "corrupting" it (I can't close the new tab, because of a NullPointerException.) Also why can't I maximize the detached window to my second monitor? I only have this empty blue bar on the top, as you can see in the previous screenshot. The only way to close it seems to be to close all the tabs it contains.
Erki, I expect that this has been addressed by the fixes for bug 348215. Let me know if it isn't. The inability to maximize a detached window is just something we haven't gotten to yet. The missing close box is intentional; what do you think hitting the red 'x' should mean ?
(In reply to comment #4) > Erki, I expect that this has been addressed by the fixes for bug 348215. Let me > know if it isn't. > > The inability to maximize a detached window is just something we haven't gotten > to yet. The missing close box is intentional; what do you think hitting the red > 'x' should mean ? It seems to be fixed now. Thanks! I think hitting the x should close the detached window, along with all the "things" it contains. I just wanted an easy (1-click) way for getting rid of the detached window. I'm probably not seeing it all the way through though :). Can it contain anything that is not closable?