XForms: ConfigureNotify event late arrival

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 30 May 97 11:24:58 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

I'm not sure if this is an XForms problem or an SGI X problem.
Perhaps someone else has encountered this and come up with a solution.

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've tracked this down using xscope and running the application in
-debug 5 and -sync modes and it seems that the ConfigureNotify event
isn't being delivered to the application until the Expose is
delivered.

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.

This is an OpenGL Canvas application (Mesa on the Suns), if that makes
any particular difference. I am catching the ConfigureNotify event
for the Canvas to do some redrawing in the Canvas window.

I'm running XForms 0.86.1 and tvtwm.

Any thoughts?

spl
_________________________________________________
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/