comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Widget Flakiness
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Widget Flakiness [message #10018] Thu, 25 September 1997 00:00
J.D. Smith is currently offline  J.D. Smith
Messages: 214
Registered: August 1996
Senior Member
Matthew J. Sheats wrote:
>
> The following problem occurs in NT 4.0 under IDL 5.0.0. I haven't
> tried the program on other platforms. I have a program which repeatedly
> updates a LABEL widget on a base widget several thousand times. It
> basically just writes out pixels which it has processed.
>
> Also there is a make-shift percentage status bar which gets updated
> regularly. After the display has been updated about ( don't laugh )
> 14,232 times, the widget locks up.. nothing more gets displayed.
>
> The percentage bar's "bar" disappears much earlier.. but the text
> display in the draw widget continues to update for the entire life of
> the widget.
>
> All operations continue to take place behind the scenes and the run
> actually does go to completion. When the run completes, the entire
> screen corrupts. Windows flash around and makes things generally
> un-usable. In some cases I can use the task bar to close the run away
> widget and recover, however in most cases I have to reboot.
>
> Has anyone ever experienced this kind of thing before?
>
> Thanks, Matthew Sheats


The only similar difficulty I had turned out to be the result of using
DEVICE, set_graphics=6 (xor drawing mode). This mode, when used in
widgets, has the ability to "leak" out of the code area you expect it to
reside in, since widget events don't have a guaranteed ordering. This
could also be the case in a complicated non-widget code. The color
corruption could be affecting your text and status bar colors too.

Anyway, it's a possibility.

JD
[Message index]
 
Read Message
Previous Topic: EXTRA keyword in PVWAVE?
Next Topic: ENVI useful functions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:03:22 PDT 2025

Total time taken to generate the page: 0.00418 seconds