Here is my environnement :
openSUSE 11.3
Firefox 3.6.4
java Plugin 1.0.6 u21 ( libnpjp2.so )
Java applet is loading without trouble. Mouse event are well compute by applet, but it is not possible to edit text (for example within an EditText).
It seems there is a problem with the keyboard focus.
If our application opens a separate modal dialog it is possible to edit within such a dialog.
I try to run xwininfo -all in order to understand where is keyboard focus and it seems keyboard focus is keep by another windows created by firefox.
Code:
xwininfo -all
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x80007c "test"
Root window id: 0x5a (the root window) (has no name)
Parent window id: 0x5a (the root window) (has no name)
2 children:
0x80016c (has no name): () 1260x664+0+0 +3+167
1 child:
0x800122 (has no name): () 1260x664+0+0 +3+167
3 children:
0x801a5d (has no name): () 1260x551+0+89 +3+256
1 child:
0x801a62 (has no name): () 1276x1000+0+0 +3+256
1 child:
0x801a63 (has no name): () 1276x1000+0+0 +3+256
1 child:
0x1200006 "JavaEmbeddedFrame": ("sun-awt-X11-XEmbeddedFramePeer" "java-lang-Thread") 1276x1000+0+0 +3+256
2 children:
0x1200014 "FocusProxy": ("Focus-Proxy-Window" "FocusProxy") 1x1+-1+-1 +2+255
0x1200012 "Content window": ("sun-awt-X11-XContentWindow" "java-lang-Thread") 1276x1000+0+0 +3+256
1 child:
0x1200029 "sun-awt-X11-XPanelPeer": ("sun-awt-X11-XPanelPeer" "java-lang-Thread") 1276x1000+0+0 +3+256
1 child:
0x120002c "sun-awt-X11-XCanvasPeer": ("sun-awt-X11-XCanvasPeer" "java-lang-Thread") 1276x1000+0+0 +3+256
1 child:
0x1400025 (has no name): () 1276x1000+0+0 +3+256
2 children:
0x1400145 (has no name): () 1x1+0+0 +3+256
0x1400034 (has no name): () 1276x999+0+0 +3+256
2 children:
0x140012e (has no name): () 1266x821+3+50 +6+306
0x1400040 (has no name): () 1266x821+3+50 +6+306
2 children:
0x14000cc (has no name): () 1160x680+0+0 +6+306
0x140004f (has no name): () 94x680+1168+0 +1174+306
0x8010dc (has no name): () 1260x551+0+89 +3+256
0x800191 (has no name): () 1260x551+0+89 +3+256
0x80007d (has no name): () 1x1+-1+-1 +2+166
0x80007d get keyboard focus whereas i expected 0x1400040 to have keyboard focus.
(I use xev -id , to find out which windows hold keyboard focus)
In addition to that, i try to reproduce this problem with export display on a windows using Xming. In this configuration, there is any trouble with keyboard ...