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.
Keyboard focus and visibility handling in the OW is markedly worse than in 6.5. There seem to have been several regressions introduced in sequence: 1. Say there are two inactive tabs, A and B. A is visible. An Ant build is run which reopens B with a new title, in bold. A is left fronted, whereas in previous releases B would be shown. 2. Very frequently the OW in sliding mode gets focus but is not visible. So the editor window takes up the full screen but is deactivated. Pressing Ctrl-4 does not work. You need to press Ctrl-0 Ctrl-4 to show the OW, or Ctrl-0 to give focus to the editor. 3. Starting only in recent builds, I usually cannot get KB focus in the OW using the KB. Pressing Ctrl-4 does not help; no caret is shown. I have to click with the mouse to get KB focus.
Fixed 3. in 84358fbdfe5d. I am not able to reproduce 1. and 2., any way to reproduce?
Maybe 2. is same problem as issue 159356
I think #1 might have to do with the fact that the mercurial module does not "close" the OW tab it uses to print e.g. commit logs, leaving it bold. So if A is a Hg tab and B is an Ant tab, with A active and B inactive, running a new Ant build makes B's tab bold but does not front it. Issue #159356 does sound like my #2, not sure.
Integrated into 'main-golden', will be available in build *200903021401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/84358fbdfe5d User: Tomas Holy <t_h@netbeans.org> Log: #159255: focus should be transfered on requestActive()
1. fixed in fc401cb48216
I hope that is the right fix. We do not want to give focus to the new Ant tab unless and until there is a compilation error; but we would want to make it visible. I cannot keep track of what the different methods in InputOutput/OutputWriter actually do in terms of window system events. BTW please write e.g. core-main #fc401cb48216 for use from http://wiki.netbeans.org/BrowserTools#section-BrowserTools-LinkToMercurialChangesets
Integrated into 'main-golden', will be available in build *200903040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fc401cb48216 User: Tomas Holy <t_h@netbeans.org> Log: #159255: explicitly select tab for ant target