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.
Dev builds, broken for some time now. OW2 asks to be made visible when you open a tab, as e.g. when running an Ant build. It does not ask for the focus (intentionally). If I have all of my (non-document) windows set to sliding mode, the OW works strangely. Say I have the Projects tab open (slid in from the left), and I right-click some project to build it. Now the OW slides in from the bottom - but it is underneath the Projects tab, so I can't see the left half of it. This is odd; I would expect it to be displayed on top of the Projects tab (though I do not want focus in it). Worse, if I click on the title bar of the OW, this does not send select it or send focus to it! Pressing Ctrl-4 does select and send focus to the OW (and closes the Projects tab). UI in this area needs to be reviewed. I think the handling of requestVisible is what is wrong.
There are several issues: 1) Clicking doesn't activate slided in component in winsys context - - this is bug, to be fixed. 2) When in sliding mode, output *should* ask for the focus, exactly to be on the top and to dismiss Projects tab. We may want to implement some more finetuned "multi-layering" rechnique for sliding windows, but we need usability study to see what is really needed. After fix of http://www.netbeans.org/issues/show_bug.cgi?id=44304, system will behave like follows: 1) Projects tab, run build - Output tab slide in, with focus, Projects tab hides 2) Watch output, leave it as is or press ESC - after ESC you are back in editor, no sliding windows visible ----- If you prefer sliding OW to not get focus, believe me you don't in reality :-) There are several problems connected with it: - how to hide OW again? no ESC (don't have a focus) - how to display OW on top of Projects - it clashes with simple, nice rule that sliding with focus is always on top and that there should be only one window slided in at the time (well, last rule is not yet enforced totally in code as you may see)
Re. "how to hide OW again? no ESC (don't have a focus)" - no problem. Just press Ctrl-0 (for example) and the editor keeps focus and the OW disappears. Not completely obvious but works fine. But I have no problem with OW receiving focus when it slides in, since I can press ESCAPE to get rid of it. If the OW is *not* in sliding mode this could be annoying - most of the time if you are just pressing F9 or something, you do not want to send focus from the editor to the OW.
Yes you are right, in non-sliding mode, OW shoudn't get focus. This is all bug http://www.netbeans.org/issues/show_bug.cgi?id=44304 is about.
part 1 fixed in main trunk, part 2 is being solved in http://www.netbeans.org/issues/show_bug.cgi?id=44304. Checking in windows/src/org/netbeans/core/windows/model/TopComponentSubModel.java; /cvs/core/windows/src/org/netbeans/core/windows/model/TopComponentSubModel.java,v <-- TopComponentSubModel.java new revision: 1.9; previous revision: 1.8 Checking in windows/src/org/netbeans/core/windows/view/ui/TabbedHandler.java; /cvs/core/windows/src/org/netbeans/core/windows/view/ui/TabbedHandler.java,v <-- TabbedHandler.java new revision: 1.11; previous revision: 1.10
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.