Bug 12609

Summary: Using Compiz applications steal focus on their start
Product: xorg Reporter: Roman Polach <r0polach>
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: julo42
Version: 7.3 (2007.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Roman Polach 2007-09-28 06:43:19 UTC
When I start a new application in Gnome (try gimp, gnome-terminal, gedit for example) and before the main application window appears I switched to some already running applications, the new one steals focus and appears on top of the one I am working with.

When I do the same with metacity, the new application window appears unfocused and below the one I am working with. This is the correct behavior and Compiz should do it this way too.

Tested on Ubuntu Feisty and Gutsy-Beta using enabling/disabling "desktop effects" that changes metacity with compiz(-fusion) and back...
Comment 1 Danny Baumann 2008-04-29 00:08:23 UTC
This should be working just fine in git master (and 0.7.4).
Feel free open if the problem persists in latest code.
Comment 2 julo42@gmail.com 2008-07-01 23:59:12 UTC
I'm using compiz 0.7.4 in Ubuntu Hardy Heron and the bug is still present: any new window opened steals the focus from the window I just switched to.
Comment 3 Danny Baumann 2009-02-08 23:33:38 UTC
(In reply to comment #2)
> I'm using compiz 0.7.4 in Ubuntu Hardy Heron and the bug is still present: any
> new window opened steals the focus from the window I just switched to.

What are your settings for focus stealing prevention (focus stealing prevention level and focus stealing prevention match)?

(and sorry for the delay)

Comment 4 julo42@gmail.com 2009-02-09 02:12:17 UTC
Sorry, I forgot to write that it works now for me with Ubuntu Intrepid Ibex.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.