[pkg-fso-maint] have to switch windows back and forth after firefox, gimp, etc. exit

Miles Bader miles at gnu.org
Wed Dec 8 06:10:12 UTC 2010

Thomas Dickey <dickey at his.com> writes:
>> yes... (I noticed this a while back, and it's on my to-do list - appears
>> to be due to an xorg change, since it doesn't happen on my older systems).
> ...or application change - for example
> http://www.archivum.info/opera.linux/2008-10/00096/Opera-stealing-focus-(attn-Eirik-Byrkjeflot-Anonsen).html

Hmm, I've noticed this too, even when I'm only running
terminals... (gnome-terminal)

It seems fairly constistent, regardless of the apps involved though.

I do use metacity as a WM, which maybe is relevant.

Some additional data points:

 (1) I've noticed that when a webpage in FF (or whatever) auto-refreshes
     (e.g., to update the data based on a periodic timeout), while I'm
     typing in another window xterm/emacs/..., then the window I'm
     typing at will _lose the keyboard focus_!

 (2) Typically I'll get this behavior when switching apps via Alt-TAB:
     If just hit Alt-TAB quickly and then try to start typing, the old
     window will lose the input focus, but the new window will _not_ get
     the input focus (even though the new window visually seems to be
     "selected").  To switch windows succesfully, I need to hit Alt-TAB,
     and then _hold it down for a slight time_ before releasing.  If I
     do that, the newly selected window consistently gets the input focus.

This is really annoying, though I've not the faintest idea where to send
a bug report.  My gut feeling is that it may be an xorg change though
(didn't the input system get rewritten recently... (what about the move
from mouse/keyboard drivers to evdev...?)



White, adj. and n. Black.

More information about the pkg-fso-maint mailing list