Re: FVWM: Java applications don't get keyboard focus

2017-08-16 Thread Pavel Vávra
On Mon, 31 Jul 2017 18:17:37 -0400 (EDT) Robert Heller wrote: > At Mon, 31 Jul 2017 17:23:59 -0400 Dan Espen wrote: > > > > > Robert Heller writes: > > > > > At Robert Heller wrote: > > > > > >> > > >> I am trying to use the Arduino IDE and it is not letting me give it > > >> keyboard >

Re: FVWM: Java applications don't get keyboard focus

2017-08-05 Thread Oleksandr Gavenko
On 2017-07-31, Dan Espen wrote: > Programs should allow the window manager to control focus. I tried to search for Java specific changes in commit messages and sources of OpenBox and FluxBox that properly handle Java app focus (checked in VirtualBox). And didn't find anything, except some positio

Re: FVWM: Java applications don't get keyboard focus

2017-08-05 Thread Oleksandr Gavenko
On 2017-07-31, Shriver, Daniel wrote: > I typically had the opposite problem: java applications taking keyboard focus > when I wanted them to have none. > > I suggest you play around with the top level graphical object you use, and > setFocusableWindowState(). > > See this StackOverflow thread:

Re: FVWM: Java applications don't get keyboard focus

2017-07-31 Thread Robert Heller
At Mon, 31 Jul 2017 17:23:59 -0400 Dan Espen wrote: > > Robert Heller writes: > > > At Robert Heller wrote: > > > >> > >> I am trying to use the Arduino IDE and it is not letting me give it > >> keyboard > >> focus. I too am using FVWM. Even when I launch it in its own desktop, it > >> do

Re: FVWM: Java applications don't get keyboard focus

2017-07-31 Thread Dan Espen
Robert Heller writes: > At Robert Heller wrote: > >> >> I am trying to use the Arduino IDE and it is not letting me give it keyboard >> focus. I too am using FVWM. Even when I launch it in its own desktop, it does >> not work. I cannot seem to make the Arduino IDE take keyboard focus, I can >>

Re: FVWM: Java applications don't get keyboard focus

2017-07-31 Thread Robert Heller
thread: > > > > https://stackoverflow.com/questions/2820014/how-do-i-stop-workaround-java-a= > > pps-stealing-focus-in-linux-window-managers/2820707#2820707 > > > > -Original Message- > > From: gi1242+f...@gmail.com [mailto:gi1242+f...@gmail.com]=20 > > Se

Re: FVWM: Java applications don't get keyboard focus

2017-07-31 Thread Robert Heller
n-linux-window-managers/2820707#2820707 > > -Original Message- > From: gi1242+f...@gmail.com [mailto:gi1242+f...@gmail.com]=20 > Sent: Thursday, July 27, 2017 10:13 PM > To: fvwm@fvwm.org > Subject: Re: FVWM: Java applications don't get keyboard focus > > On Fri,

Re: FVWM: Java applications don't get keyboard focus

2017-07-31 Thread Shriver, Daniel
-do-i-stop-workaround-java-apps-stealing-focus-in-linux-window-managers/2820707#2820707 -Original Message- From: gi1242+f...@gmail.com [mailto:gi1242+f...@gmail.com] Sent: Thursday, July 27, 2017 10:13 PM To: fvwm@fvwm.org Subject: Re: FVWM: Java applications don't get keyboard focus O

Re: FVWM: Java applications don't get keyboard focus

2017-07-28 Thread Oleksandr Gavenko
On 2017-07-28, Harald Dunkel wrote: > AFAICS MouseFocus is the default for X. If you run a xterm instead > of fvwm, then it is easy to reproduce the problem: The Java app > still tries to enforce ClickToFocus, AFAICS. > I checked this with simple Java app in VirtualBox in bare Xorg session. Jav

Re: FVWM: Java applications don't get keyboard focus

2017-07-28 Thread Harald Dunkel
AFAICS MouseFocus is the default for X. If you run a xterm instead of fvwm, then it is easy to reproduce the problem: The Java app still tries to enforce ClickToFocus, AFAICS. In this setup the Java folks cannot hide behind "fvwm bug". Regards Harri

Re: FVWM: Java applications don't get keyboard focus

2017-07-27 Thread gi1242+fvwm
On Fri, Jul 28, 2017 at 02:11:53AM +0300, Oleksandr Gavenko wrote: > I've lived with this problem since 2008. Or even earlier. Ha ha. Me too! I even posted about this back in 2007 or so, but could never fix it. My work around was to launch Java applications (mainly Matlab) in their own desktop.

Re: FVWM: Java applications don't get keyboard focus

2017-07-27 Thread Oleksandr Gavenko
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 de

Re: FVWM: Java applications don't get keyboard focus

2017-07-27 Thread Oleksandr Gavenko
On 2017-07-27, Klaus Ethgen wrote: > Try "Style xxx Lenience" where xxx is the fvwm window name or the class > of the programm. > > Reason is that java is extremely broken regarding focusing. I know about "Lenience". It only helps with bringing focus to Java app (switching desktops/pages to plac

Re: FVWM: Java applications don't get keyboard focus

2017-07-27 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Try "Style xxx Lenience" where xxx is the fvwm window name or the class of the programm. Reason is that java is extremely broken regarding focusing. The other stuff that is somehow broken are wine applications. Regards Klaus - -- Klaus Et

Re: FVWM: Java applications don't get keyboard focus

2017-07-27 Thread Pavel Vávra
Hi Oleksandr, 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

Re: FVWM: Java applications don't get keyboard focus

2017-07-26 Thread Oleksandr Gavenko
On 2017-04-06, Oleksandr Gavenko wrote: > Commonly recommended: > > Style "sun-awt-X11-*" Lenience > > make Fvwm border decoration colors as if window is active (defined Alt+F4 > close proper window) but application ignore/doesn't receive keyboard input. > > Direct click inside window (not on de