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: | Cursor in editor lost after opening a form | ||
---|---|---|---|
Product: | platform | Reporter: | Jan Chalupa <jchalupa> |
Component: | Window System | Assignee: | _ tboudreau <tboudreau> |
Status: | CLOSED WORKSFORME | ||
Severity: | blocker | CC: | mslama, tpavek |
Priority: | P3 | Keywords: | FOCUS |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jan Chalupa
2002-06-18 12:40:16 UTC
My observation: - it happens only for the first time after starting the IDE, but it happens reliably, - switching workspace is not necessary, - not only the cursor is not visible, it is also not possible to edit the text (no keyboard input), but it is possible to set cursor position or slect text by mouse, - the cursor is not visible also in any other document opened in the editor, and even not in property sheets (Component Inspector), in-place renaming in explorer tree, etc, simply nowhere - the IDE is quite unusable, - it helps just to switch to another application and back, or to invoke some dialog (e.g. Edit | Find). I guess it would be worth trying to find out what's happening in winsys during opening form window. See also issue 21384 which might (or might not) be related. Reassigning to core. Marek, do you have the code for finding "illegal" focus requests at hand? I think this would be similar problem. Thx. No I do not have. It is easy: add AWTEventListener with FOCUS_EVENT mask as in DefaultContainerImpl to parent: desktop or main window. Or try to check events directly at DefaultContainerImpl. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. Target milestone was changed from '3.4' to TBD. changed owner Dafe -> Peter Z. Again focus problem. Maybe FOCUS keyword is needed. reassign to Tim, new owner of AWT/Swing Reassigning back to Marek, owner of winsys. Marek, assign it back to me if you feel that's inappropriate - probably it is a winsys issue. Assigning to Tim Does not seem to be a problem in new winsys verified in NB.dev(200507131800)/closed |