Re: XForms: ConfigureNotify event late arrival

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Sat, 31 May 1997 00:28:26 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

from spl@szechuan.ucsd.edu (Steve Lamont) :

>I'm programatically resizing a form using fl_set_form_size(). The
>dimensions of the encompassing window change correctly for me, however
>the objects within the form do not resize until the next Expose event
>arrives.

>I first thought that maybe XForms was sitting on the event for some
>reason but the xscope trace shows that this isn't the case -- the
>event just isn't being delivered until I either do a manual refresh on
>the window or the window catches and expose.

>This happens only on an SGI running IRIX 5.3 and XForms 0.86.1 -- on
>my Sun (SunOS 4.1.[34], X11R[56]j) platforms the ConfigureNotify is
>delivered as I'd expect -- basically immediately after the
>fl_set_form_size() is called.

I am not sure what the problem might be either. You might
want to add an XFlush or XSync after the resizing request.
In V0.81, after a resizing, a request to the server
about the new size was made as a way of flushing
the buffer, but it caused some strange problems on some PC Xserver,
so I took it out in V0.86. As far rescale.c demo goes,
it seems work ok.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/