Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 198748 - Mode.dockInto(tc) closes open TopComonent
Mode.dockInto(tc) closes open TopComonent
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Window System
7.0
PC Windows XP
: P3 (vote)
: 7.1
Assigned To: Stanislav Aubrecht
issues@platform
:
Depends on:
Blocks: 198657
  Show dependency treegraph
 
Reported: 2011-05-20 01:28 UTC by err
Modified: 2014-12-18 15:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
Debug session in (IntelliJ IDEA) that demonstrates the problem (298.36 KB, image/jpeg)
2014-12-18 15:13 UTC, normanfo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2011-05-20 01:28:38 UTC
Filing as recommended by jtulach in Bug 198657 comment 2.

Perhaps this behavior was introduced when OutputWindow was reworked. Cc'ing mentlicher.
Comment 1 Stanislav Aubrecht 2011-07-18 13:53:54 UTC
core-main 8b0d6a9f62ee
Comment 2 Quality Engineering 2011-07-19 13:58:26 UTC
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
Comment 3 normanfo 2014-12-18 15:13:21 UTC
Created attachment 151173 [details]
Debug session in (IntelliJ IDEA) that demonstrates the problem
Comment 4 normanfo 2014-12-18 15:19:06 UTC
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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo