← Back to team overview

compiz team mailing list archive

[Bug 345872] Re: new windows appearing under mouse cursor steal keyboard focus despite showing up in the background

 

With sloppy focus I would expect windows to get focus when the mouse
cursor *enters* the window.  I wouldn't expect to get focus when the
mouse cursor moves over a window that's not otherwise focused.  For
example, if I use alt-tab to focus window X while the mouse is over
window Y, I wouldn't expect window Y to regain focus until I move my
mouse outside Y and then back on top of it.  Therefore I reject the
second part of your argument.

The first part is plausible: should the mouse appearing over the window
be treated the same as a window appearing under the mouse?  It seems
like a reasonable symmetry to do it that way.  I argue that it doesn't
work well in practice: background windows end up getting keyboard focus
unpredictably.  It took me *months* to notice that the position of the
mouse cursor had any impact on background windows getting focus
unexpectedly.  I'm aware of the position of the mouse when I'm moving
it, otherwise I forget where it is---and this makes the window manager's
behaviour surprising, and that's not good for usability.

I really ought to forward this issue upstream and stop wasting Ubuntu
developer's time.

-- 
new windows appearing under mouse cursor steal keyboard focus despite showing up in the background
https://bugs.launchpad.net/bugs/345872
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in ubuntu.