Bug 21604 - strange refresh behavior when moving mouse
Summary: strange refresh behavior when moving mouse
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: 0.18
Assignee: Thomas Fitzsimmons
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-16 06:07 UTC by Tom Tromey
Modified: 2005-10-16 01:46 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-05-25 02:01:17


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2005-05-16 06:07:34 UTC
I'm using the applet here:
http://www.chessgames.com/perl/chessgame?gid=1069669
with gcjappletviewer.
(As of this writing I needed a patch to make this work at all,
see the classpath-patches list.)

When the applet window first comes up, if I move the mouse from
the applet window into another unrelated window, the applet
window will do a full refresh.  If I move the mouse from the applet
window to the desktop, nothing special happens.  (The same thing
happens when moving the mouse from a window into the applet, but
again does not happen when moving from the desktop into the applet.)
After I make a move in the applet, this refresh behavior stops.
Comment 1 Thomas Fitzsimmons 2005-05-25 02:01:15 UTC
Are you using focus-follows-mouse?  If so, this is a known problem; a change in
a window's active state causes an expose event on the entire window, which
triggers a repaint.  We need to find a way to prevent that expose event in the
gtk peers.
Comment 2 Tom Tromey 2005-05-25 15:17:36 UTC
Yes, I'm using focus-follows-mouse.
Comment 3 Thomas Fitzsimmons 2005-06-09 22:55:39 UTC
Fixed on GNU Classpath mainline.