-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
focus issues with Wine and Java apps #791
Comments
Could you give the output of |
Thanks for the reply.
It seems other regular programs have
Not familiar with that, will look into it
Absolutely. So far the simplest is with just Wine itself and running its own |
Use |
Thanks for the hint, it would have taken me a while to figure all that out. For future ref (for me or others)
Using it for a few minutes, everything seems to behave normally. Amazing, this has been driving me up a wall for months. So,
|
You really should ask the developers of those programs, because that is also unclear to me. It doesn't seem to give them any advantage and they don't seem to do a good job of it.
I have investigated this several times before and sofar my conclusion is that IceWM adheres strictly to the protocol definitions from the ICCCM specification and those applications do not. |
Ah, so it's something they actively set/request, I thought it was assigned by icewm based on some rules/config.
Fair enough. Thanks a lot for your time looking into this ! |
@fenugrec i've had the same focus issues in icewm with java apps, e.g. IntelliJ IDEs, my workaround is running them inside Xnest (or Xephyr, but that one is abandoned, i think) + fluxbox (or openbox, etc, even twm), inside icewm
|
@zgrim thanks. Had you tried the other workaround by editing |
@fenugrec yes, i tried |
The following questionable patch fixed my java (intellij) IDE focus issues, for now, HTH.
|
This goes against the ICCCM standard:
So if the hack works for you, then you really need to contact the developers of your application. |
Yes, i'm aware this isn't a proper fix, didn't want to imply that it is.
What's a bit off about it is that this focus issue doesn't happen in fluxbox (or openbox, etc), which raises the chances of it being an icewm thing. Hard to tell, i know, these java gui apps carry some historical mishaps in this area, but in this particular case it might be the WM. |
If you buy a lottery ticket it raises the chances of getting rich.
If you drive on the right side of the road you reach your destination, but if you drive on the wrong side of the road you bump into things, so let's fix the wrong side of the road. You really need to contact the developers of your application. |
commit a1fdb8b is an attempt to help solve this. If you like you could test this and see if it works for you? |
Thanks ! |
Thank you! |
Your testing was most helpful! I believe this fixes the |
It does, thank you! |
I'm having frequent focus issues with software running under Wine, as well as some java-based GUI apps (ghidra) . It goes something like this :
With a different WM, and the same software, the focus behaves normally. I have experimented with different settings in icewm but nothing made a difference.
To reproduce : sometimes running 'winecfg', and opening + closing its "Add Application..." dialog, is sufficient to trigger the bug, so it has nothing to do with a particular piece of software.
I'm not even sure how to begin troubleshooting this. Suggestions welcome.
The text was updated successfully, but these errors were encountered: