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.
Please add a possibility (e.g. checkbox to versioning settings) to disable creation of tabs in OW. E.g. tabs are automatically opened on browsing history even if there is nothing useful printed.
mercurial - cdev #5135da0f8b76 subversion - cdev #81497ab5c556 checkbox is added and if OW has not been opened yet, the logger tries to determine that and closes it again. It is a kind of a 'magic hook' so if you have any ideas how to disable the auto-openning in any other way, I would welcome them. To make the code clearer and more transparent I think the API of IOProvider and IOOutput should be rewritten: IOProvider could introduce (if it has not one already?) a choice to prevent auto-openning in getIO(String) - when it is called for the first time. IOOutput should be able to show/hide window on demand - and after its closure still be able to receive input (so logs aren't lost when the OW is hidden).
OW tab should not be created at all if opening is disabled. I do not understand why you want to open it and then close it immediately. If you want to show/hide window you can keep content separately and create OW tab and write content there on show and release it on hide.
Integrated into 'main-golden', will be available in build *200904091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5135da0f8b76 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #160876 - Possibility to disable creation of OW tab new checkbox in options dialog OutputLogger tries to determine if the output window is open
fixed