dple@bii.UUCP (david levine) (09/20/89)
Lately I've been playing around with release 1.0 of OSF's Motif Toolkit and have encountered some strange behavior with one of the widgets. When displaying some graphics in the XmDrawingArea widget, repeated expose events are generated. I don't mean one or two...but what seems to be an infinite amount of them. My guess is that either the event is not being deleated from the queue or for some reason, expose events are being generated. Other events do get handled but this is quite distracting seeing one of the windows constantly blink. If anyone has any comments please direct them to me. I will post the results at a later time. ================================================================== ... ... . . . . David Levine . * . . Software Engineer . . . . . . . Bruker Instruments Inc. USA . BRUKER . Billerica, MA. 01821 . . . . . . . ...!uunet!bii!dple UUCP . * . . dple%bii.UUCP@uunet.uu.net Internet ... ... =================================================================
bob@odi.COM (Bob Miner) (09/20/89)
> Lately I've been playing around with release 1.0 of OSF's Motif Toolkit > and have encountered some strange behavior with one of the widgets. > When displaying some graphics in the XmDrawingArea widget, repeated > expose events are generated. I don't mean one or two...but what seems > to be an infinite amount of them. My guess is that either the event > is not being deleated from the queue or for some reason, expose events > are being generated. Other events do get handled but this is quite > distracting seeing one of the windows constantly blink. If anyone > has any comments please direct them to me. I will post the results > at a later time. I've been using Motif 1.0's XmDrawingArea widget extensively for almost a month and have not encountered the behavior you're seeing. One thing you might try is running the motifgif demo, which uses an XmDrawingArea widget, in the demos/motifgif directory. That demo works fine (and actually looks very nice - look at the challenger.gif file on a color workstation) on our machines (Sun3, SunOS 4.0.3). So if you see the same problem on your machine, then that might indicate a problem with how Motif and/or X11R3 was built on your machine. If you don't see the same problem, then that indicates a problem with your code, such as somehow you're generating an expose event when handling an expose event. Bob Miner Object Design Inc. Internet: bob@odi.com 1 New England Executive Park Or: odi!bob@uunet.uu.net Burlington, MA 01803 Or: odi!bob@eddie.mit.edu (617) 270-9797