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.
If a TopComponent has TopComponent.PERSISTENCE_NEVER set: - it will not open on startup, even if openAtStartup = true - when WindowManager.getDefault().findTopComponent is used, it will open in editor mode, regardless of the mode that has been set
Additionally, unless a TopComponent is persisted WindowManager.getDefault().findTopComponent(tcID) returns null.
This is caused by fix for #211331. TopComponents with PERSISTENCE_NEVER should not have any .settings generated to XML layers and it should dock into desired mode itself when being opened. But this abuse of window system API is so widespread that I reverted the fix for #211331 in core-main f6df55211b11
verified in trunk, please backport to releases for patch1.. Product Version: NetBeans IDE Dev (Build 201208280001) Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 System: Mac OS X version 10.8 running on x86_64; US-ASCII; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
transplanted to release72 branch as eea17d04340e