[dev-200206180100, JDK 1.4.0, MDI]
Steps to reproduce:
1. Start IDE with a clean userdir.
2. In the sampledir, open the ClockFrame form by
double-clicking on its node in Explorer.
3. The IDE switches to the GUI Editing workspace.
Now, GUI designer comes up, followed by the Source
Editor, which overlaps the designer window. After
a while the GUI designer is moved to front again.
4. Click on the Editor window to bring it to front.
5. Click anywhere inside the Editor pane, cursor
is not visible. You can see in the editor status
bar that the current position in the editor
changed, but the cursor remains invisible.
Switching panes won't help. The workaround is to
switch to another workspace and than back to GUI
It is reliably reproducible on my laptop with W2K,
Sun's JDK 1.4.0.
I'm not sure this is a form module problem. Feel
free to re-assign to editor or core.
- 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.
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
Assigning to Tim
Does not seem to be a problem in new winsys
verified in NB.dev(200507131800)/closed