On 2017-07-27, Pavel Vávra wrote:

>   nobody can help you with this bug? I know this one, it affects me in my
> everyday work. You are a developer so maybe you can be this happy man who will
> find this bug and send fix to developers of fvwm. If you will not be able to
> fix it, you can send to developers some hints where to find this bug if you
> will try make a debugging of fvwm code. I am using Debian + fvwm, but I have
> no time to look to this bug so I have to live with him. My knowledge of C
> language is too poor to solve this bug. But I will be happy not to see this
> bug anymore.

I've lived with this problem since 2008. Or even earlier.

What JWM developers say about Fvwm:

  https://bugs.openjdk.java.net/browse/JDK-4472864

  BT2:WORK AROUND

  Do not use fvwm

  2004-06-10 19:45

Actually Sun never was able to hire qualified engineers that able to fix X
Window related code.

What they wrote about Fvwm:

  https://bugs.openjdk.java.net/browse/JDK-6586041

  We should also check if FVWM follows ICCCM specification, in particular
  ICCCM focus model. If not, this change request may be closed as a bug in
  FVWM.

Here more:

  https://bugs.openjdk.java.net/browse/JDK-6586041?jql=text%20~%20%22fvwm%22

like:

   I see the same focus bug when running the test with JDK 1.5.0_08 on linux.
   Thus, the problem is with XToolkit. My guess is that FVWM doesn't handle
   WM_TAKE_FOCUS correctly of doesn't use it at all. I doubt this issue will
   ever be fixed as FVWM is pretty old and unsupported window manager. 

================================================================

I have extremely limited knowledge on X Window API and Fvwm internals.

I would like to stay with Fvwm 2 unless new API made it unusable.

I tried brief search for Java workarounds in Gnome shell, openbox and fluxbox
sources. At least to find out what is special in handling of Java app. But I
haven't found anything related so far.

Inside VirtualBox VM OpenBox WM is able to pass keyboard focus to Java app but
Fvwm isn't.

Following:

  Style "sun-awt-X11-*" MouseFocusClickRaises, Lenience

only help to bring Java app to foreground.

-- 
http://defun.work/


Reply via email to