This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Mode.dockInto(tc) closes open TopComonent | ||
---|---|---|---|
Product: | platform | Reporter: | err <err> |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mentlicher, normanfo |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 198657 | ||
Attachments: | Debug session in (IntelliJ IDEA) that demonstrates the problem |
Description
err
2011-05-20 01:28:38 UTC
core-main 8b0d6a9f62ee Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/8b0d6a9f62ee User: S. Aubrecht <saubrecht@netbeans.org> Log: #198748 - don't close opened TopComponents when moving them between modes Created attachment 151173 [details]
Debug session in (IntelliJ IDEA) that demonstrates the problem
The bug still seems to be there or is back again in NetBeans 8.0.2. At least I am suffering from an equal case. I am rearranging/tiling editor windows in my app using a dedicated actions that dock opened top components into predefined editor modes. I've attached a screenshot of a debug session where one can see the call stack from Mode.dockInto() up to the point where my TopComponent.componentClosed() is called. You can also see from the code (TileUtilities.java) that I've checked whether the window is already contained the target mode to make sure it is contained open in another mode, before dockInto() is called. -- Norman |