After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139086 - Gtk+ Win32 resizing windows does not redraw contents of window until resize is finished
Gtk+ Win32 resizing windows does not redraw contents of window until resize i...
Status: RESOLVED DUPLICATE of bug 135453
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.4.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-04-05 00:47 UTC by Todd A. Fisher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Todd A. Fisher 2004-04-05 00:47:28 UTC
Any Gtk+ window in win32 does not update correctly while resizing the window, if
windows has set show window contents while draging a window.
Comment 1 Tor Lillqvist 2004-04-06 02:14:20 UTC
Can't reproduce, at least not with testgtk. But my working copies of GTK+ and 
GLib HEAD have some changes, related to trying to fix bug #137968 and related 
stuff in GTK+. 
Comment 2 Todd A. Fisher 2004-04-06 02:21:40 UTC
i'd call this a feature bug in that any window that you resize that is a gtk+
window does not update until the resize is complete.  This has been in gtk+
since 1.2.

1. move mouse cursor to the edge of a window until cursor changes to resize grip.
2. click and hold.
3. move mouse and observe that the window contents do not resize as you drag.
4. when you release the window is resized correctly.

the bug in these four steps is in three.  while dragging the gtk+ window does
not update until the drag is complete.  I've noticed in 2.4 that it updates
faster then in 2.2 but *most* windows apps update as you drag with no noticable
jumps.  Certainly, gtk+ apps refresh correctly while resizing in X.

Comment 3 Tor Lillqvist 2004-04-06 02:40:56 UTC
(Is this bug a duplicate of bug #135453?)

What do you mean by "I've noticed in 2.4 that it updates faster than in 2.2"? 
Does it update during the resize or not? 

If you have tried 2.4.x, I assume you build GTK+ yourself? (Yes, I know this is 
normal on Unix, but it is not so common on Windows.)

Have you tried the 2004-01-24 build of GTK+ 2.2.4 from 
www.gimp.org/win32/downloads.html? On the other hand, the same change is in 
GTK+ 2.4.x.
Comment 4 Todd A. Fisher 2004-04-06 03:44:08 UTC
(Is this bug a duplicate of bug #135453?)
yes

What do you mean by "I've noticed in 2.4 that it updates faster than in 2.2"? 
Does it update during the resize or not? 

I mean that it doesn't update smoothly during a resize and that from the best
that i can recall from 2.2 it seems to update faster in 2.4 (perhaps this means
the fix was not in the older version of 2.2 i was using from dropline.net). So,
what i'm saying is that the update is not smoothing updating.  However, after
looking at some other windows applications the performance has improved but
still lacking behind.

If you have tried 2.4.x, I assume you build GTK+ yourself? (Yes, I know this is 
normal on Unix, but it is not so common on Windows.)
yes i have i just got it built a couple of days ago :)

Have you tried the 2004-01-24 build of GTK+ 2.2.4 from 
www.gimp.org/win32/downloads.html? On the other hand, the same change is in 
GTK+ 2.4.x.

if that was provided in the recent dropline.net release then yes.  I'd like to
help tweak the source to improve the refresh rate during a build, perhaps thats
all i need to understand.
Comment 5 Tor Lillqvist 2004-04-06 04:03:53 UTC
So are you saying that in GTK+ 2.4.0, window updates during a resize do happen 
(they do for me...), but aren't smooth enough? 

The way window updates during resizes are handled currently is a bit ad-hoc and 
hackish, and if fact causes some other problems (see bug #99540, bug #137968, 
and comment 17 in bug #132113.) I am really not satisfied with it. 
Comment 6 Todd A. Fisher 2004-06-11 03:46:10 UTC
another thing i'm noticing that may be related to this bug is that when
adjusting an hpan the child panels if they contain buttons themed with the
pixbuf theme engine the artwork flickers as if it is not being double buffered.
 This maybe
what is really causing the effect of things not looking smooth.  Also, 
the hpanel handle can be left behind in treeview's and textview's.  You can
definately see this in the gtk-demo when looking at the textview demo.
Comment 7 Tor Lillqvist 2004-08-07 22:45:34 UTC
As the original reporter himself said this is a duplicate, resolving as such.

*** This bug has been marked as a duplicate of 135453 ***