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.

Bug 159356 - Output window does not re-minimize
Summary: Output window does not re-minimize
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker with 7 votes (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: REGRESSION
: 194846 195060 197916 198058 198213 201434 202560 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-27 19:47 UTC by dkittle
Modified: 2011-09-26 08:46 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dkittle 2009-02-27 19:47:03 UTC
I minimized my output window.  

When using Netbeans 6.5, the output window restores itself when I do a build of my JavaEE project.  It then
're-minimizes' itself when I click in the Java editor window.

When using Netbeans 6.7M2, the output window does restore itself when I do a build.  However it stays restored when I
click in the Java editor window.  I have to click the Output 'tab' at the bottom of the IDE twice in order to get the
output window to minimize again.

Note, the output window does have the correct controls on it, one control to pin the window and one to close it.
Comment 1 t_h 2009-03-02 14:19:29 UTC
9e60d3d80021
Comment 2 Quality Engineering 2009-03-03 09:13:03 UTC
Integrated into 'main-golden', will be available in build *200903030229* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9e60d3d80021
User: Tomas Holy <t_h@netbeans.org>
Log: #159356: activate in sliding mode
Comment 3 Martin Entlicher 2011-01-21 14:48:00 UTC
It's a bug of the window system and not of Output Window.
I've reverted the changeset 9e60d3d80021 because it caused bug #160767.
http://hg.netbeans.org/main/rev/f4db7d9ea9a7

To reproduce with other windows, apply this patch:
diff -r f4db7d9ea9a7 spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/ViewActions.java
--- a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/ViewActions.java	Fri Jan 21 15:21:44 2011 +0100
+++ b/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/actions/ViewActions.java	Fri Jan 21 15:45:23 2011 +0100
@@ -87,7 +87,8 @@
         }
         view.open();
         if (activate) {
-            view.requestActive();
+            //view.requestActive();
+            view.requestVisible();
         }
         return view;
     }

Have a focus in Editor.
Open and minimize Breakpoints window and then go to Window -> Debugging -> Breakpoints.
Breakpoints window slides in, but does not get focus. Now click into Editor. Nothing happens.

One can get rid of such window by pressing ESC. But this brings the window into some strange state. TopComponent.componentHidden() is NOT called as a result of pressing ESC. When you move mouse over minimized Breakpoints button, the window does not slide in. The same is true for Output Window.

Moving to window system for evaluation and proper fix.
Comment 4 Quality Engineering 2011-01-22 06:12:38 UTC
Integrated into 'main-golden', will be available in build *201101220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f4db7d9ea9a7
User: mentlicher@netbeans.org
Log: #160767 It's wrong to activate window that was just made visible only. Revert of changeset 9e60d3d80021 made as a fix of issue #159356.
Comment 5 Martin Entlicher 2011-02-04 15:33:18 UTC
*** Bug 194846 has been marked as a duplicate of this bug. ***
Comment 6 Marian Mirilovic 2011-02-07 12:33:21 UTC
*** Bug 195060 has been marked as a duplicate of this bug. ***
Comment 7 Stanislav Aubrecht 2011-02-07 15:39:24 UTC
dkittle: you have to press esc key or ctrl+0 shortcut to hide the output window. clicking into editor has no effect as the output window doesn't have input focus.


fixed in core-main 599c7d828cd4
Comment 8 Quality Engineering 2011-02-09 06:08:03 UTC
Integrated into 'main-golden', will be available in build *201102090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/599c7d828cd4
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #159356 - Output window does not re-minimize
Comment 9 tkellerer 2011-04-22 08:29:19 UTC
It still doesn't work for me in the 7.0 FCS
Comment 10 tkellerer 2011-04-29 06:57:16 UTC
Others have this problem as well:

http://netbeans.org/bugzilla/show_bug.cgi?id=198058
Comment 11 Stanislav Aubrecht 2011-04-29 09:26:20 UTC
*** Bug 198058 has been marked as a duplicate of this bug. ***
Comment 12 Stanislav Aubrecht 2011-04-29 09:27:43 UTC
'esc' key 're-minimizes' the output window
Comment 13 Martin Entlicher 2011-05-17 09:09:07 UTC
*** Bug 197916 has been marked as a duplicate of this bug. ***
Comment 14 mclaborn 2011-08-22 16:12:27 UTC
This is still not corrected in

Product Version: NetBeans IDE 7.0.1 (Build 201107282000)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02
System: Linux version 2.6.35-30-generic running on amd64; UTF-8; en_US (nb)
Comment 15 Stanislav Aubrecht 2011-09-06 12:50:15 UTC
*** Bug 198213 has been marked as a duplicate of this bug. ***
Comment 16 Stanislav Aubrecht 2011-09-06 12:54:13 UTC
*** Bug 201434 has been marked as a duplicate of this bug. ***
Comment 17 Stanislav Aubrecht 2011-09-06 13:44:40 UTC
core-main 61dba04f3542
Comment 18 Quality Engineering 2011-09-07 14:31:18 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/61dba04f3542
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #159356 - output window doesn't re-minimize
Comment 19 Stanislav Aubrecht 2011-09-26 08:46:39 UTC
*** Bug 202560 has been marked as a duplicate of this bug. ***