Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89702 - firefox not getting focus on startup. Probably metacity, Gnome 2.10 related
Summary: firefox not getting focus on startup. Probably metacity, Gnome 2.10 related
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 12:35 UTC by Ivan Yosifov
Modified: 2005-04-26 05:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Yosifov 2005-04-19 12:35:49 UTC
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
Comment 1 Ivan Yosifov 2005-04-20 00:31:08 UTC
Actually it appears below all non-ff windows. The new ff appears above all other ff windows, below any native ones.
Comment 2 Ivan Yosifov 2005-04-20 03:46:11 UTC
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 :(
Comment 3 foser (RETIRED) gentoo-dev 2005-04-24 14:22:04 UTC
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.
Comment 4 Ivan Yosifov 2005-04-24 14:59:15 UTC
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.
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2005-04-25 01:29:37 UTC
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
Comment 6 Ivan Yosifov 2005-04-26 05:04:17 UTC
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 ?