# To subscribers of the xforms list from "T.C. Zhao" <firstname.lastname@example.org> :
Thanks for your message and test program.
It's a bug in xforms. When a form
is disabled, events for the form (and hence
canvas on it) are discarded. This is
done for all events except for the Expose and
GraphicsExpose event. I've added
ClientMessage to the excepted events.
--- John Levon <email@example.com> wrote:
> # To subscribers of the xforms list from John Levon
> <firstname.lastname@example.org> :
> In my quest to locate a LyX bug (you can find a very brief summary at
> I have determined that a canvas we created stops receiving
> events when certain xforms dialogs are opened between. The canvas is
> created with :
> fl_add_canvas(FL_NORMAL_CANVAS, xpos + 1, ypos + 1, 1, 1, "");
> And then a handler for ClientMessages is installed with :
> fl_add_canvas_handler(figinset_canvas, ClientMessage,
> (the final argument isn't actually used AFAICS).
> Now if some dialogs are opened then the ClientMessages stop arriving
> the GhostscriptMsg handler. I have verified that ghostscript is
> these out (to the correct window), so I suspect xforms is handling,
> dropping, these ClientMessage events.
> I have also verified that changing the message_type value makes no
> I tried installing a pre-handler with :
> fl_set_object_prehandler(figinset_canvas, GSPreHandler);
> but this doesn't report any events *at all* until I quit LyX !
> I tried using another window to deliver the ClientMessage events to,
> the same rule applies.
> Can some xforms person who has access to the source code give me some
> hints on what processing is done of ClientMessage events ? Is there
> way I can actually get access to the raw X event queue ?
> To unsubscribe, send the message "unsubscribe" to
> email@example.com or see
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
To unsubscribe, send the message "unsubscribe" to
firstname.lastname@example.org or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Sat Dec 02 2000 - 17:36:48 EST