Written by freexe the 10 Sep 08 at 15:33.
Related project: Gnome.
Status: New
Rationale
When I open a new program, it often grabs keyboard focus so I can start typing in the program. I like this function.
If I happen to be in the middle of typing in another program when the program requests keyboard focus it's a pain because I don't alway notice and it ruins my train of thought.
I would like to block programs trying to grab focus if I'm in the middle of typing.
Let me add another nerv racing szenario: On a slower machine when I start a new application that takes a couple of seconds to pop up I want to keep on editing somethin in another window but every time a new window is created focus is stolen and I have to switch back to the older window.
I would add that Compiz's focus-stealing-prevention options go to extremes. Either new windows come on top, or they don't. I really like the idea of being aware of the keyboard (similar to the option to disable touchpad while typing), because this is a middle-of-the-road option we don't have right now.
Lets not make it complicated, then maybe it can get done quicker.
The focus should never be taken or stolen from the user.
If I enter a command or use gnome to kick of an application, I have transfered/given the "focus" back to gnome to do with it as it likes: i.e set focus on newly launched app.
Once the focus is given back to me (i.e focus given to an application I launched) its my property until I GIVE it back.