← Back to team overview

compiz team mailing list archive

[Bug 345872] Re: new firefox windows steal keyboard focus despite showing up in the background

 

It still happens in Jaunty.

A clarification to the steps of reproduction:

2.5) make sure the mouse is outside of the gnome-terminal window and is
instead hovering over the desktop, even though gnome-terminal still has
keyboard focus.

** Summary changed:

- new firefox windows steal keyboard focus despite showing up in the background
+ new windows appearing under mouse cursor steal keyboard focus despite showing up in the background

** Description changed:

  Binary package hint: compiz
  
  In Intrepid:
  
- 1) make sure Firefox is running
+ 1) make sure Firefox is running and is configured to open links in a new window
  2) open gnome-terminal
- 3) type 'firefox', press Enter.
+ 3) move the mouse outside the terminal window while keeping it focused
+ 4) type 'firefox', press Enter.
  
  What happens:
  
  * the existing Firefox instance opens a new window *behind* gnome-terminal
  * that new background Firefox window *steals keyboard focus*
  
  This is surprising, especially when your gnome-terminal is maximized.
  
  What should happen:
  
  * Firefox should open a window in the background and not get keyboard
  focus (option A)
  
  or
  
  * Firefox should open a new window on top of other windows and get
  keyboard focus (option B).
  
  I prefer option (A) to option (B), because software that steals focus is
  bad (and in my particular use case it's an automated test suite that
  opens a firefox window several seconds after I started the test suite).
  
  Extra info:
    * in CompizConfig Settings Manager I have: click to focus not set, focus prevention level: low, focus prevention windows: any.
    * in Firefox preferences I have: open new pages in a new window
+   * my Firefox windows are usually maximized, and since Firefox remembers their size, the new window is likely to cover the whole desktop and thus will always appear where the mouse is, if the mouse is over the desktop

-- 
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.