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.
Output Window is not shrinkable. It can only grow in size. This bug occurs only on Mac OS X, since the Mac OS X implementation respects component's minimum size and does not allow user to resize such component under its minimum size.
This bug is caused by two separate problems. The first one is in org.netbeans.lib.terminalemulator.Term.java where minimum size of org.netbeans.lib.terminalemulator.Screen is set to its actual size. Second problem is in org.openide.awt.SplittedPanel.SplitLayout.minimumLayoutSize(). I guess that implementation of this method should use getMinimumSize() instead of getPrefferedSize() for obtaining size of the underlaying components. The similar logic with getMinimumSize() is used for example in java.awt.BorderLayout class. I will attach the patch for Term.java as well as for SplittedPannel.java
Created attachment 4350 [details] Proposed patch for org.netbeans.lib.terminalemulator.Term
Created attachment 4351 [details] Proposed patch for java.awt.SplittedPanel.SplitLayout
Proposed patches applied to trunk. The fix is not complicated at all. It was reviewed by Ales Kemr for Term patch and David Simonek for SplittedPanel patch. I think that it is good idea to include it in 3.3.1, since it is an annoying bug and there is no workaround. Similar grow-forever problem of Debugger panel is corrected by this fix too.
Does the fix introduce any semantic change on platforms other than MacOSX? In other words, is the code modified ever run on Win/Linux/Solaris JDK?
The modified code is executed on other platforms.
Ian, Honzo and I discussed this. We do not approve this fix at this time because it is too late in the release cycle and impacts only Mac OS users (my apologies to those users). This bug should be fixed immediately after NB 3.3.1 is final and made available via AutoUpdate os that Mac OS users have a fix.
Tomasi, please, verify this, if it is already integrated into Orion. Thanks.
Verified in FFJ 4.0 build 020403_1
Resolved for 3.4.x or earlier, no new info since then -> closing.
moving terminal emulator issues to terminalemulator component. To see the correct version and target milestone of this issue look at Issue Activity table.