In WindowMaker, it seems that GTK2 applications can cause a focus/flicker problem when switching workspaces. For example, when the user switches to a workspace containing overlapping GTK2 windows, the titlebars flicker and focus seems to infinitely jump between the GTK2 windows. This bug manifests itself when sloppy focus is enabled. (Input focus mode: Auto) I believe this is a known issue, but has not yet been resolved by the WindowMaker folks. Debian includes a patch in their package to resolve this issue, as noted in the changelog, which can be found at the following address: http://packages.debian.org/changelogs/pool/main/w/wmaker/wmaker_0.80.1-8/changelog Reproducible: Sometimes Steps to Reproduce: 1.Open multiple overlapping GTK2 windows (eg., MozillaFirebird), positioning the mouse above the topmost window 2.Switch to another workspace, without moving the mouse 3.Switch back to the workspace containing the GTK2 windows Actual Results: In roughly 3/4 of the trials, the window focus jumped between the two overlapping GTK2 windows, causing the title bar to exhibit a flickering effect. In some of the trials, this ceased after a couple of seconds, and gave focus to the bottom window. Expected Results: Given the topmost GTK2 window focus. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.24) ================================================================= System uname: 2.4.24 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo http://gentoo.noved.org/ rsync://gentoo.seren.com/gentoo http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://acm.cs.rpi.edu/gentoo-portage" USE="X aalib acpi apm avi berkdb cardbus cdr crypt cups dvd encode esd foomaticdb gd gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime readline scanner sdl slang spell sse ssl tcpd truetype x86 xml2 xmms xv zlib video_cards_radeon"
check this out: http://blog.sergiocarvalho.com/7448/
I see this with Bittorrent and gaim all the time. Its really annoying and leaves me wondering what is using 100% of my cpu all the time. I don't use sloppy foucus though. And I only see it when new windows are opening, not when switching desktops. I'll test the patch and update this bug.
I will also test the patches. I have seen this before but I never thought much about it. I'll get this fix in asap if it does what it's supposed to.
Well I've been using the patch for 3 days and I haven't seen the flickering. I did probably 20 - 30 actions that used to cause it frequently, and no flickering.
er... make that 2 days...silly timezones
I Used the debian patch in the past and I can testify that the flickering is gone. I used it for 6 months or so....
-r4 is now in portage and includes this fix. Thanks for being so patient while this made it's way into portage. If you find any problems, feel free to re-open this bug.