! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Firefox auto-raises window when cleaning up quick search (or completion of lo...
Status:
RESOLVED: INVALID

Comments

Description Mark 2007-07-18 21:26:14 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20070706 Firefox/2.0.0.3
Build Identifier: 

If I have firefox partially occluded by a terminal, I am able to hit
'/' to start a quick search in firefox (without raising firefox).

I then place a terminal (or other window) over firefox.

After a timeout, the UI automatically closes, and at this point,
the Firefox window is automatically raised to the top.

My window manager settings are:
  Focus:
    YES Focus follows mouse
    NO new window focus
    NO raise on focus
    NO raise on click

  Advanced:
    YES Snap windows to screen border
    YES Snap windows to other windows
    NO wrap workspaces on screen edge
    NO wrap workspaces
    YES Display contents of windows when resizing
    YES Display content of windows when moving
    Double Click - Shade Window

Window Manager Tweaks:
  Focus:
    YES/NO Activate focus stealing prevention (happens with either)
    YES/NO Honor the standard ICCCM focus hint (happens with either)

  Accessibility:
    NO Raise windows when any mouse button is pressed
    YES Hide frame of windows when maximized
    NO Restore original size of maximized windows
    NO Use edge resistance

I've tried this using Firefox 1.5, Firefox 2.0.  I have experienced
this under both Ubuntu and Gentoo.

I have also tried to reproduce this under Metacity and couldn't.  Metacity behaves differently.

Reproducible: Always

Steps to Reproduce:
1.  Open firefox
2.  Open a terminal
3.  In the firefox window, hit the '/' key to start a quick find (the
UI should open at the bottom).
4.  Raise the terminal (so that it covers the firefox window)
5.  Wait about 10 seconds (until the quick-find UI closes)

Actual Results:  
When the quick-find UI closes, the firefox window raises itself.

Expected Results:  
I would expect the firefox window would remain at its current level.

There are other times when firefox is auto-raising (I believe when it completes loading a very large page).

I don't actually notice any other applications doing this, but then again, I don't use a lot of other applications (other than a terminal).  I've looked through my firefox about:confix and don't see anything that might be causing this behaviour.  I haven't tested with any other window managers other than metacity.

This was occurring before I updated to 4.4.1 (I was running 4.4.0 before).
Comment 1 Olivier Fourdan editbugs 2007-07-19 20:50:20 CEST
well I tried with metacity and it does the same here (version 2.18.5 with fc7)#

BTW, it's firefox raising its own window, it's not the window manager.

xfwm4 can do its best to prevent this if you enable focus stealing prevention. BTW, it's not an xfwm4 but, it's firefox.

Bug #3401

Reported by:
Mark
Reported on: 2007-07-18
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information