Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 375883

Summary: x11-wm/compiz-0.8.6-r3: erroneous focus follows mouse behavior after screensaver
Product: Gentoo Linux Reporter: Juha Aatrokoski <jha>
Component: Current packagesAssignee: Desktop-Effects herd <desktop-effects+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juha Aatrokoski 2011-07-21 15:41:22 UTC
In certain circumstances (e.g. when returning from a (gnome-)screensaver that has been active for a while) Compiz will cause the root window to get focus, resulting in focus follows mouse behavior even though click to focus is selected. This can be fixed by explicitly focusing (clicking on) a window other than the one Compiz thinks is focused.

Related bug reports:

https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/450021
https://bugzilla.mozilla.org/show_bug.cgi?id=631518
https://bugs.launchpad.net/compiz/+bug/438868

Fixed in upstream, patch:

http://cgit.compiz.org/compiz/core/commit/?id=30a92d8a060d79181a28840d7c66428ef431200c

Reproducible: Always

Steps to Reproduce:
1. Make sure you are running compiz and gnome-screensaver
2. Lock the screen
3. Bring up the password dialog by pressing a key or moving the mouse
4. Wait until the password dialog times out and disappears
5. Bring up the dialog again and unlock the screen
Actual Results:  
Focus follows mouse behavior until fixed by focusing some other window.

Expected Results:  
Normal window manager behavior.
Comment 1 Sergey Popov gentoo-dev 2012-09-05 18:31:30 UTC
It should be fixed in 0.8.8 which is in tree now