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.
040708. I just noticed in the past couple of days that arrow keys no longer work correctly when the OW has focus! Up/Down/Left/Right scroll the buffer in the corresponding direction. But they should be moving the text caret (and incidentally scrolling as needed to make the caret displayable). Clicking in the text area does not help. You can set the caret (or make a selection) with the mouse, but not with the KB.
Fedora Core 2, 1.5.0 b57, GTK.
Please reproduce with logging on and attach log
Also it is effectively impossible to keep the buffer locked to the end of the output if any errors have been encountered, if you cannot control the caret.
Created attachment 16257 [details] Log after building {release36}nbbuild/build.xml#all-beans (JDK 1.5.0 b57, GTK) and making various fruitless attempts to move the caret by KB (GZIPped text)
Is this while writing is still happening? If so, the log entries: 1089828753601:Trying to reacquire scroll lock for end 3596.0 val 3596 perc 1.0 could be the problem.
While writing is still happening? I'm not sure what you're asking. Reproducible both during the build and after it is completed. Reproducible on both GTK and Ocean. Reproducible 100% consistently in all dev builds since I filed this bug. I am using 1.5.0 b58 currently.
Hrm, well I found the problem - so that Esc would work to hide the output window, I do the following to the JEditorPane: pane.getKeymap().setResolveParent ((Keymap) Lookup.getDefault(Keymap.class)); and similar for the ActionMap. This fixes escape, but causes either the actions or keystrokes for arrow keys to be overridden.
Note that I cannot reproduce in 040722 (Ocean, 1.5.0 b58); seems to be working fine. Did you change something?
Not yet. It may depend on the look and feel, since that's what does the keybindings - it may just be an action name collision or something.
Yes, but as mentioned before I continued to see this bug for a while *after* I switched from GTK to Ocean, so I don't think it is purely a L&F issue.
Can see it happening again in 040724 (Ocean).
Checking in demosrc/org/netbeans/core/output2/TestFrame.java; /cvs/core/output2/demosrc/org/netbeans/core/output2/TestFrame.java,v <-- TestFrame.java new revision: 1.8; previous revision: 1.7 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/core/output2/Bundle.properties; /cvs/core/output2/src/org/netbeans/core/output2/Bundle.properties,v <-- Bundle.properties new revision: 1.6; previous revision: 1.5 done Checking in src/org/netbeans/core/output2/Controller.java; /cvs/core/output2/src/org/netbeans/core/output2/Controller.java,v <-- Controller.java new revision: 1.8; previous revision: 1.7 done Checking in src/org/netbeans/core/output2/ExtPlainView.java; /cvs/core/output2/src/org/netbeans/core/output2/ExtPlainView.java,v <-- ExtPlainView.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/core/output2/FileMapStorage.java; /cvs/core/output2/src/org/netbeans/core/output2/FileMapStorage.java,v <-- FileMapStorage.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/core/output2/FindDialogPanel.form; /cvs/core/output2/src/org/netbeans/core/output2/FindDialogPanel.form,v <-- FindDialogPanel.form new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/core/output2/FindDialogPanel.java; /cvs/core/output2/src/org/netbeans/core/output2/FindDialogPanel.java,v <-- FindDialogPanel.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/core/output2/OutWriter.java; /cvs/core/output2/src/org/netbeans/core/output2/OutWriter.java,v <-- OutWriter.java new revision: 1.7; previous revision: 1.6 done Checking in src/org/netbeans/core/output2/OutputDocument.java; /cvs/core/output2/src/org/netbeans/core/output2/OutputDocument.java,v <-- OutputDocument.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/core/output2/OutputEditorKit.java; /cvs/core/output2/src/org/netbeans/core/output2/OutputEditorKit.java,v <-- OutputEditorKit.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/core/output2/OutputTab.java; /cvs/core/output2/src/org/netbeans/core/output2/OutputTab.java,v <-- OutputTab.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/core/output2/PairMap.java; /cvs/core/output2/src/org/netbeans/core/output2/PairMap.java,v <-- PairMap.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/core/output2/WrappedTextView.java; /cvs/core/output2/src/org/netbeans/core/output2/WrappedTextView.java,v <-- WrappedTextView.java new revision: 1.8; previous revision: 1.7 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/core/output2/ui/AbstractOutputPane.java; /cvs/core/output2/src/org/netbeans/core/output2/ui/AbstractOutputPane.java,v <-- AbstractOutputPane.java new revision: 1.11; previous revision: 1.10 done Processing log script arguments...
verified in 4.2 20050728