! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Temporary failure to properly track the input focus (cancelled logout)
Status:
RESOLVED: FIXED

Comments

Description Darren Salt 2006-07-30 17:05:02 CEST
To replicate: make sure that a terminal window (for example) has the input focus then place the pointer over the backdrop, invoke logout, cancel logout (via the keyboard).

Note that the same window (according to the frame and, possibly, translucency) appears to have the input focus. Now (without moving the pointer) try typing something.

Move the pointer into the window without crossing other windows (NOTE: requires focus-follows-mouse), type something (it appears), move the pointer back out, type something (it doesn't appear).

You need to click in the window or give a different window the input focus for things to return to normal.

Solution: trace logs show that, when the logout window is opened, grab and ungrab notifications are being sent. The interesting one is a grab notification with detail == NotifyInferior; just allowing this in addition to NotifyDetailNone is enough to fix this.
Comment 1 Darren Salt 2006-07-30 17:07:31 CEST
Created attachment 688 
Fix the focus tracking

The patch also adds a little extra debugging information.
Comment 2 Olivier Fourdan editbugs 2006-08-15 16:18:20 CEST
Applied in rev 22776. Thanks.

Bug #2090

Reported by:
Darren Salt
Reported on: 2006-07-30
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Fix the focus tracking (1.69 KB, patch)
2006-07-30 17:07 CEST , Darren Salt
no flags

Additional information