-
Notifications
You must be signed in to change notification settings - Fork 99
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
reboot confirmation dialog losing focus in front of xchat #23
Comments
It might be a little related to the java hack thing. I noticed that the code does not really appear to conform to ICCCM 2.0 behaviour for focus handling, particularly when WM_TAKE_FOCUS is specified (as it is in both cases). xchat is using gtk2 on my box, so I can't really think that xchat has a problem. What is your focus-new-windows setting? |
Nope, sorry. Disabling Java hack didn't change anything. I use default focus behavior (Click to focus). I also see similar behaviour with the Eclipse startup dailog (Workspace selection), it does never get focus when created. Another funny effect is that when I start eclipse from the Taskbar command line, I get a fake "Task Bar" entry in the quick-switch list, which disappears the next time when Alt-Tab is pressed. |
I'm a sloppy focus guy. I didn't mean that the java hack would fix anything. It seems that the need for the java hack in the first place was some non-conformance in IceWM to ICCCM 2.0 on the basis of focus behavior. So, can you not click in the confirmation window to have it take focus? |
XChat is stealing focus. The confirmation dialog should likely grab both the keyboard and the pointer when presented so that no other window can simply steal its focus. Eclipse is a different issue. |
@bbidulock How can i understand the non-conformance you mentioned? I'm chasing a focus bug and I wonder if i'm onto the same thing, but i also need to know how i can verify if my solution is correct. The case is that sometimes no application window has input focus, even though it should. Then Alt+Tab shows the focus is with the taskbar, which in my view is incorrect as focus never needs to be set to the taskbar. This is for sloppy focus. I tracked it down to |
…focus behavior non-conformant. See issue #23.
as focus must reside with applications. See issue #23.
Wrong solution to this problem. The dialogs at issue should grab the pointer and the keyboard. |
I can't get the logout confirmation dialog to lose focus in front of xchat now. Please recheck and close if fixed. |
@Code7R does this work now? Plesae reopen if it doesn't. |
I have a little glitch to report. Repro steps:
X-Chat must be the only window on the current workspace. Press Ctrl-Alt-Del and click reboot or use the hotkey. The confirmation window appears on top of xchat but it does NOT gain the focus.
I am not an expert WRT icewm's window handling, do you know someone more appropriate to care about this issue? Smells like some kind of concurency issue but it's only a wild guess.
The text was updated successfully, but these errors were encountered: