<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>38481</bug_id>
          
          <creation_ts>2004-01-16 21:27 0000</creation_ts>
          <short_desc>WindowMaker titlebar flickering issues with GTK2 applications</short_desc>
          <delta_ts>2004-06-07 06:42:56 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>prox@prolixium.com</reporter>
          <assigned_to>gnustep@gentoo.org</assigned_to>
          <cc>desktop-misc@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>prox@prolixium.com</who>
            <bug_when>2004-01-16 21:27:53 0000</bug_when>
            <thetext>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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium4 -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium4 -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;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/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://acm.cs.rpi.edu/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dizzy@roedu.net</who>
            <bug_when>2004-03-02 06:19:23 0000</bug_when>
            <thetext>check this out:
http://blog.sergiocarvalho.com/7448/
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liverbugg@juno.com</who>
            <bug_when>2004-05-02 22:54:20 0000</bug_when>
            <thetext>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&apos;t use sloppy foucus though.  And I only see it when new windows are opening, not when switching desktops.  I&apos;ll test the patch and update this bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nick@capital-internet.net</who>
            <bug_when>2004-05-03 11:14:02 0000</bug_when>
            <thetext>I will also test the patches.  I have seen this before but I never thought much about it.  I&apos;ll get this fix in asap if it does what it&apos;s supposed to.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liverbugg@juno.com</who>
            <bug_when>2004-05-04 22:47:40 0000</bug_when>
            <thetext>Well I&apos;ve been using the patch for 3 days and I haven&apos;t seen the flickering.  I did probably 20 - 30 actions that used to cause it frequently, and no flickering.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liverbugg@juno.com</who>
            <bug_when>2004-05-04 22:48:29 0000</bug_when>
            <thetext>er... make that 2 days...silly timezones</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remybosch@zonnet.nl</who>
            <bug_when>2004-06-07 04:26:48 0000</bug_when>
            <thetext>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....</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nick@capital-internet.net</who>
            <bug_when>2004-06-07 06:42:56 0000</bug_when>
            <thetext>-r4 is now in portage and includes this fix.  Thanks for being so patient while this made it&apos;s way into portage.  If you find any problems, feel free to re-open this bug.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>