On Mon 26 Sep 2016 at 09:40:08 +0200, Alexander Klein wrote: > Hi Olaf, > > I just tried to find that out using xwininfo, but it doesn't seem to be the > case: wherever I click, the resulting information is always the same:
Ah well, it was a nice theory for as long as it lasted.
I didn't expect it, but pkgsrc has a package for jabref, so I installed
it to give it a go. Interestingly it is JabRef 2.10 but using OpenJDK 8.
So it is possible to vary those versions in at least some combinations.
Do you have some specific instructions on what to try? I think I found
the web search dialog (F5) but I didn't notice anything weird regarding
focus. (On the other hand, searching produces an error regarding the web
server it uses.) That can mean either that I don't have your problems at
all, or that the problem is in the newer JabRef version, not the newer
OpenJDK.
I also tried xwininfo -tree on the window, to get the structure of all
its subwindows. There is shows something interesting:
$ xwininfo -tree
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x2400042 "JabRef - untitled*"
Root window id: 0x2bb (the root window) (has no name)
Parent window id: 0xc28385 (has no name)
2 children:
0x2400048 "FocusProxy": ("Focus-Proxy-Window" "FocusProxy") 1x1+-1+-1
+1027+101
0x2400045 "Content window": ("sun-awt-X11-XContentWindow"
"net-sf-jabref-JabRefMain") 840x680+0+-21 +1028+81
which seems to suggest Java is doing funny stuff with focus...
Releted, xwininfo -all includes
Window manager hints:
Client accepts input or input focus: No
which also looks weird (and is probably related).
xev doesn't show me any key presses either, but that event isn't
enabled on the window.
If I trace events on the "FocusProxy" I DO get keyboard events; if I trace
"Content window" I get mouse movement.
Google found me this:
http://www.docjar.com/docs/api/sun/awt/X11/XFocusProxyWindow.html .
not sure yet if this will lead to more insight.
So far my experiments...
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X
\X/ rhialto/at/xs4all.nl -- are condemned to reinvent it. Poorly.
signature.asc
Description: PGP signature
