Bug 1397969 - Randomly I cannot open menus or type
Summary: Randomly I cannot open menus or type
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xfwm4
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 17:26 UTC by Miro Hrončok
Modified: 2017-01-04 18:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-04 18:25:49 UTC
Type: Bug


Attachments (Terms of Use)

Description Miro Hrončok 2016-11-23 17:26:08 UTC
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.

Comment 1 Miro Hrončok 2016-11-24 16:28:45 UTC
This have just happened without locking anything, out of the blue in the middle of writing an e-mail in thunderbird :(

Comment 2 Miro Hrončok 2016-11-24 16:29:29 UTC
I really don't know what component I should assign this to.

Comment 3 Petr Šabata 2016-11-24 17:14:26 UTC
Are you running any apps that might be stealing your focus?  Any IMEs, perhaps?

Comment 4 Mukundan Ragavan 2016-11-24 17:18:07 UTC
Any pop ups/notifications showing up "below" on focus windows by any chance?

Also, does this seem to happen only to some programs?

Comment 5 Miro Hrončok 2016-11-24 20:24:22 UTC
(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.

Comment 6 Miro Hrončok 2016-11-24 20:25:35 UTC
(In reply to Petr Šabata from comment #3)
> Any IMEs, perhaps?
And nothing here I would be aware of.

Comment 7 Miro Hrončok 2016-12-02 17:03:20 UTC
Is there some way to know what process is eating the keyboard focus?

Comment 8 Kevin Fenzi 2016-12-02 18:41:36 UTC
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...

Comment 9 Miro Hrončok 2016-12-02 19:43:56 UTC
Switching there and back does not help. Switching, running `DISPLAY=:0 xdotool getwindowfocus getwindowname` and switching back workarounds it.

Comment 10 Miro Hrončok 2017-01-04 18:25:49 UTC
Didn't happen for a week.


Note You need to log in before you can comment on or make changes to this bug.