On Wed, Jul 20, 2016 at 12:45:51PM +0200 I heard the voice of
Alexander Klein, and lo! it spake thus:
> 
> I keep having severe focus problems with JabRef 3.4 on FreeBSD 10.3.
> 
> As opposed to JabRef 2.10, version 3.4 uses OpenJDK8, and I don't
> know how to test if OpenJDK or CTWM is to blame.

Probably winds up being a matter of definition   :|

In the abstract, focus processing is pretty simple.  We
XSetInputFocus() to a window when it's entered, and to the root when
it's left.  What can go wrong?

Well, probably a lot.  Maybe there's something the application can do
to lock focus to itself harder?  Maybe there's something it's doing
that causes the notifications we get on enter/leave to come through in
a way we don't expect?  Maybe door number three?

The odd focus stuff I sometimes find with Evince goes somewhat the
other way; it holds on to [some] focus bits even though it shouldn't.
I most often notice it when my ctwm bindings aren't working as
expected, even though I'm typing in other windows fine.  I did install
jabref and poke around a little, but nothing odd happened, and that's
[beyond] the limit of what I know to do with it.

It'll probably take some deterministic way of triggering, plus a good
bit of time dribbling printf()'s around the code to find what's
happening oddly.


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

Reply via email to