XForms: cannot deactivate form that is not shown ?

Tristan Savatier (tristan@mpegtv.com)
Sun, 11 Jan 1998 20:26:25 -0800

To subscribers of the xforms list from Tristan Savatier <tristan@mpegtv.com> :

I noticed that fl_deactivate_form() does not deactivate
a form if it is not currently shown, i.e.

fl_deactivate_form(...);
fl_show_form(...);

--> the form appears active

fl_show_form(...);
fl_deactivate_form(...);

--> the form appears inactive.

I do not like the fact that fl_deactivate_form(...)
requires that form to be shown in order to work.
Is that documented ? Is that done on purpose ?

Deactivating a form after showing it can (maybe?) create a short
race condition, i.e. the form may be active for a short time
before it is deactivated.

I would prefer to say that a form is active/inactive
independently from whether the form is shown
or not.

Does anyone agree with me ?

-t
_________________________________________________
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://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/