In Gnome 2.10,click on the firefox icon or type firefox in a terminal. An ff window will appear on the current desktop below all other windows and when explicitly requesting an ff window ( by clicking the icon ) one would expect it to appear above all other windows. I am almost sure this started after upgrading to Gnome 2.10. Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:59:12)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-g0 -O3 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--strip-all" LINGUAS="en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl dba doc dvd dvdr emboss encode esd flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib ipv6 ithreads java jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mmap mmx mmxext mono motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis opengl pam pdflib perl pic plotutils png postgres pthreads python qt quicktime readline sdl session sharedmem slang spell sse sse2 ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis xml xml2 xv zlib linguas_en" Unset: ASFLAGS, CBUILD, CTARGET
Actually it appears below all non-ff windows. The new ff appears above all other ff windows, below any native ones.
This could be easily worked around with devilspie, but no devilspie (yet) in Gnome 2.10 http://bugs.gentoo.org/show_bug.cgi?id=88047 :(
this is new wnck behaviour afaik and depends on what you are doing at the moment you start firefox (focus stealing prevention). This is not a bug.
It may not be a coding error, yet is a bug because this behaviour is not the wanted one. Can we work around these wnck changes you mention ? >>> depends on what you are doing at the moment you start firefox Not in my experience. I always get the described (miss-)behaviour no matter what page I am viewing.
The changes are part of a fairly big change upstream with regards to metacity's "not stealing the focus". In that respect, this isn't a bug in the software (GNOME) - it's the intended upstream behaviour, or with the packaging (Gentoo). I'm sure there has been debate over including this upstream, but I think it's unlikely to be changed now that it's in. We can't really do much with this - there's no bug to fix with respect to the current package, and I don't think we'll be writing and maintaining a patchset to introduce this enhancement ourselves. The beginning of the discussion can be seen at: http://mail.gnome.org/archives/desktop-devel-list/2004-December/msg00306.html
Thanks for the pointer. The way I read it the problem is that clicking on the ff icon does not count as an interaction with ff, so it seemes to metacity that ff opens a window out of the blue. Is it possible to make the icon click be an interaction ?