Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90993 - Windows do not raise properly under metacity
Summary: Windows do not raise properly under metacity
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-30 13:31 UTC by Matthew East
Modified: 2005-07-01 15:27 UTC (History)
2 users (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 Matthew East 2005-04-30 13:31:55 UTC
I run gentoo stable with gnome and metacity and have recently noticed that windows are not focusing properly when I click on them in the gnome-panel. Basically what happens is that clicking on them will defocus the current window, but not focus the new window. I then have to click a second time to focus the window properly.

I have noticed that this happens in the following situations:

firefox -> gnome-terminal
gnome-terminal -> firefox
xchat -> gnome-terminal
gnome-terminal -> xchat

etc. I've noticed this DOESN'T happen when changing window to/from nautilus.

I reported the problem on the gentoo forums, and it seems a few people have encountered the problem. http://forums.gentoo.org/viewtopic.php?p=2365689

Please help! Its fairly unprofessional for a distribution such as gentoo to have this sort of problem in its stable tree.

Thanks very much,

Matt
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-12 16:44:16 UTC
What versions of metacity and libwnck do you have in your system?

Also, please remember to always include the output from 'emerge info' when reporting bugs. Thanks.
Comment 2 Matthew East 2005-05-16 07:26:27 UTC
Apologies:

metacity is at version: 2.8.13
libwnck is at version: 2.8.1-r1

root@eustathios matt # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 08:23:28)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa apache2 avi bash-completion berkdb bitmap-fonts cdr divx dvd dvdread ffmpeg gif gnome gpm gtk gtk2 imlib javascript jpeg mp3 mpeg nls nptl nptlonly opengl pam perl png quicktime real ssl truetype truetype-fonts type1-fonts userlocales x86 xv xvid userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 3 Paolo Ornati 2005-05-28 07:11:04 UTC
Same problem here.

If I remember correctly it started upgrading from 2.8.2 to 2.8.3.


Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-cko5 x86_64)
=================================================================
System uname: 2.6.11-cko5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 12 2005, 10:18:07)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
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.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/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/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.inode.at"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit X a52 aac acpi4linux alsa audiofile avi bash-completion
bitmap-fonts blender-game bzip2 ccache cdda cdparanoia cdr codecs cscope css
cups dpms dv dvd dvdr dvdread emacs emul-linux encode fame ffmpeg freetype ftp
gimp gimpprint glut gnome gpm gstreamer gtk gtk2 hal java jpeg lm_sensors mikmod
mmap mp3 mpeg mpeg4 mplayer multilib ncurses nls nptl nptlonly oggvorbis opengl
pam pdflib png readline rtc sdl ssl tcpd tiff truetype truetype-fonts
type1-fonts unicode userlocales utf8 v4l xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 foser (RETIRED) gentoo-dev 2005-05-28 07:33:51 UTC
does using metacity-2.10.x improve the situation ?
Comment 5 Paolo Ornati 2005-05-28 08:15:55 UTC
No, metacity upgrade doesn't help, I've already tested it.

BUT I've just tried updating gnome-base/gnome-panel to 2.10 and it WORKS! No
problems anymore.

So my suggestion for everyone that have this problem is:

ACCEPT_KEYWORDS="~amd64" emerge "=gnome-panel-2.10.0"


These are the updated packages on my system:

Calculating dependencies  ...done!
[ebuild     U ] gnome-base/gnome-vfs-2.10.0-r1 [2.8.4-r1] -debug -doc -gnutls
+hal -howl -ipv6 -samba +ssl 1,856 kB
[ebuild     U ] gnome-base/gnome-desktop-2.10.0 [2.8.3] -debug 1,076 kB
[ebuild  N    ] gnome-base/gnome-menus-2.10.0  -debug 329 kB
[ebuild     U ] x11-libs/libwnck-2.10.0 [2.8.1-r1] -debug -doc 409 kB
[ebuild     U ] dev-libs/atk-1.9.1 [1.8.0] -debug -doc -static 472 kB
[ebuild     U ] gnome-base/libglade-2.5.1 [2.4.2] -debug -doc 310 kB
[ebuild     U ] gnome-base/gnome-panel-2.10.0 [2.8.3] -debug -doc -eds 3,012 kB

Total size of downloads: 7,467 kB
Comment 6 Pedro Castro 2005-05-28 09:43:50 UTC
never emerge a package with "ACCEPT_KEYWORDS="~arch" emerge <package". That will
revert everything back to the old versions upon an emerge update.
use the /etc/portage/package.keywords for that.
Comment 7 Paolo Ornati 2005-05-28 11:45:06 UTC
(In reply to comment #6)
> never emerge a package with "ACCEPT_KEYWORDS="~arch" emerge <package". That will
> revert everything back to the old versions upon an emerge update.
> use the /etc/portage/package.keywords for that.

No, if I wait for 2.10 to become "stable" before running "emerge gnome ..." :D

Ok, ok. One may want to run "emerge --update world"... but I usually don't and
I've posted the first thing that worked for me, not the _perfect_ one.

:)
Comment 8 Pedro Castro 2005-05-28 16:23:11 UTC
how come you don't update world? how do you update your system? that's another
bad advice. :P
ok, everyone knows how to run their system, but i just told that because many
people may come here to find the solution and emerging things that way might do
some harm.
Comment 9 Paolo Ornati 2005-05-29 01:00:53 UTC
(In reply to comment #8)
> how come you don't update world? how do you update your system? that's another
> bad advice. :P
> ok, everyone knows how to run their system, but i just told that because many
> people may come here to find the solution and emerging things that way might do
> some harm.

I periodically run "emerge --update system" and manually update other packages
I'm interested in (and the dependences cause the update of other packages,
usually libs).

The end result is an almost fully updated system.

And note that I've said: "I usually don't run: emerge --update world", and not
"I never run...".

Apart these considerations it's obvious that the right thing to do is what you
have said.
Comment 10 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-31 00:41:28 UTC
Matthew,
Can you confirm if upgrading to gnome-panel-2.10 resolves this problem for you?

Pedro,
Please refrain yourself from posting comments with no relevant information
regarding the bug. Bugzilla is not the place for discussing things like the way
to use portage, as the reporters know what they're doing.
Comment 11 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-01 15:27:29 UTC
No further back from original reporter. Apparently it's fixed in
gnome-panel-2.10.0, as stated in comment #5.