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.
Summary: | Focus moves to editor toolbar when switching files | ||
---|---|---|---|
Product: | java | Reporter: | tkellerer <tkellerer> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | bht, jglick |
Priority: | P2 | Keywords: | A11Y, FOCUS |
Version: | -S1S- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 28263 | ||
Bug Blocks: |
Description
tkellerer
2002-11-02 01:26:31 UTC
Very probably bug of core/window system. Reassigning. I don't know how is the toolbar supported. But it is necessary when transferring focus to TopComponent, the editor pane should be the default one, not toolbar. Reassigning. I also get this on Win98 with q-build 200210300100 and JDK 1.4.1. I did _not_ get it with the 3.4 release, including JDK 1.4.0 and 1.4.1. Another similar focus issue that I had problems with has been fixed since the 3.4 release: 25337 "Editor window content loses focus after find command". I just noticed that this happens as well, when you jump to the next compiler error with F11... Please let me suggest to give this a high priority. I would like that NetBeans looks good but this bug makes it look bad. A couple of other focus issues have been resolved but this seems to get worse. I cannot jump to methods in other classes using [Alt+G] either. This is what an IDE should be doing without any problems. It appears that often the text does not scroll to the method. If it does then the focus is in the list box on the toolbar and not on text in the editor. I am not doing fancy things with NetBeans. Just the ordinary edit compile stuff. All that seems to work fine except these annoying focus issues. Still hapening badly in q-build 20021120010 with JDK 1.4.1 on Win98 Workaround: try pressing TAB (some number of times) or Ctrl-3 (once) after switching files to ensure the text pane has focus. I agree this is a major usability problem. Observed also on Linux, MDI, JDK 1.4, Gnome/Sawfish. Note that if you have the toolbar turned off, there is no longer a problem (see issue #28263). Jesse, Thanks very much for the Ctrl-3 workaround. That makes my life a lot easier. Netbeans is an awsome tool and once again I am very impressed by your professional response. I appreciate that very much especially because I could quite easily understand that there is time pressure and other constraints that you have in your environment. Fixed: /cvs/java/src/org/netbeans/modules/java/JavaEditor.java,v <-- JavaEditor.java new revision: 1.131; previous revision: 1.130 VERIFIED |