Hide Forgot
Description of problem: When I unlock my Xfce session with slock, the desktop acts weird. I can move my mouse and click buttons, but whenever a popup menu should be displayed it is not (such as context menus with right click, Xfce apps menu, or clicking in menubar in applications (File, Edit...)). Keyboard shortcuts do not work (except for Ctrl+Alt+F*) and even if some window has focus, I cannot type into it. Version-Release number of selected component (if applicable): slock-1.3-2.fc25.x86_64 How reproducible: 50% cases roughly, appears to be random. Steps to Reproduce: 1. Lock Xfce with slock 2. Unlock 3. Repeat if necessary. Actual results: As described in description. Expected results: Desktop should work normally. Additional info: Calling `DISPLAY=:0 xdotool getwindowfocus getwindowname` from another tty produces some error message but makes the desktop usable again.
This have just happened without locking anything, out of the blue in the middle of writing an e-mail in thunderbird :(
I really don't know what component I should assign this to.
Are you running any apps that might be stealing your focus? Any IMEs, perhaps?
Any pop ups/notifications showing up "below" on focus windows by any chance? Also, does this seem to happen only to some programs?
(In reply to Petr Šabata from comment #3) > Are you running any apps that might be stealing your focus? Any IMEs, > perhaps? The focus is appear to change properly as I click. xdotool now tells me the active window. (In reply to Mukundan Ragavan from comment #4) > Any pop ups/notifications showing up "below" on focus windows by any chance? I cannot see nor detect anything. > Also, does this seem to happen only to some programs? Well I can open the Chromium menu, but I still cannot type in Chromium. So I guess all apps.
(In reply to Petr Šabata from comment #3) > Any IMEs, perhaps? And nothing here I would be aware of.
Is there some way to know what process is eating the keyboard focus?
Try switching to a vty (control-alt-f3) and back... I think X then logs what client had their focus lock broken? But I might be misremembering...
Switching there and back does not help. Switching, running `DISPLAY=:0 xdotool getwindowfocus getwindowname` and switching back workarounds it.
Didn't happen for a week.