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.
I have "build Main Project" mapped to F7. I have "Next Error" mapped to F4. - start with focus in an editor window. - hit F7 to run a build (with errors). Focus changes to the the output window. - hit F4 to go to the first error (nothing happens). - click once on the editor window. - hit F4. The ide correctly moves to the line with the first error, even if it needs to change to a different editor window. I should note that F7 correctly does a build no matter which window has the focus. F4 (next error) should do the same. Product Version: NetBeans IDE Dev (Build 201210240001) Java: 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03 System: Linux version 3.4.9-2.fc16.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
It seems the bug is regression after fixing bug #203612 Native execution should not set focus on output window if user invokes compile or build action.
With the following change the focus is taken only in case of some 'run' action... http://hg.netbeans.org/cnd-main/rev/590f1d3fef0a But this doesn't fix the usability issue...
Integrated into 'main-golden', will be available in build *201212080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/590f1d3fef0a User: Andrew Krasny <akrasny@netbeans.org> Log: FIXING: #221371 - The focus change after a build (with errors) is incorrect.
Updated the target. I think this bug is largely fixed. After a build with errors, the 'next error' hotkey causes the text of the error to appear in the status bar (near the bottom margin) and cursor in the the edit window changes. There is a problem though... when 'note:' appears in the output, each of these should be traversed on each 'next error'. For example, when the signature of a method is not matched, each note will point to the possible usages. Other IDE's will traverse these notes. And clicking on the message (instead of the hot key) will take you to those locations. Should I file a new bug? Product Version: NetBeans IDE Dev (Build 201303192300) Updates: Updates available Java: 1.6.0_43; Java HotSpot(TM) Client VM 20.14-b01 Runtime: Java(TM) SE Runtime Environment 1.6.0_43-b01 System: Linux version 3.6.11-4.fc16.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
Dear tbrunhoff, thanks for your report. Could you, please, give more details about the 'note:' output pattern? Ideally it would be great if you could provide a source code example. Thanks, =Andrew