Re: XForms: bug in fdesign

Steve Lamont (
Mon, 8 Sep 97 06:08:08 PDT

To subscribers of the xforms list from (Steve Lamont) :

> > Hmmm... worked as I expected, which, in this case, means no unexpected
> > changes in form size.
> >
> > I just checked and I'm running 0.47 fdesign, so there might be a
> > difference between 0.47 and 0.46, which I think you said you're
> > running. You might want to update your fdesign and XForms to at least
> > 0.47 and 0.86.1 respectively. That's about all I can suggest.

> I tried it on a DEC osf... , a sunos4, and a linux box and it has the same
> behaviour of changing the size. I also tried it with the old 0.41 and new
> 0.48 fdesign.
> To see the effect you should go through the forms "several times".

Ah. I finally made it happen.

The only way I could make it occur is to click between forms *very*
quickly -- basically clicking to the next form before the current form
had completely redrawn.

It looks like some kind of `race condition'. I suspect that what's
happening is that fdesign is using only one window to display the
working form and does a resize to make it the proper geometry as its
last step rather than the first. If you click the next form before
fdesign is done, fdesign probably queries the geometry of the form
before the form has properly been resized, thus getting bogus geometry.

I think the workaround is to allow the form to completely draw and
resize before clicking to the next form.

I often create ten or more forms in my GUIs and this is the first time
I've ever seen this happen. Strange.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: