Re: Widget Cursor Event Freezes [message #83665] |
Wed, 13 March 2013 11:19 |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
Oh, and I am working on IDL Version 8.2.2, Mac OS X (darwin x86_64 m64)
On Wednesday, March 13, 2013 2:14:56 PM UTC-4, wlandsman wrote:
> I am reading cursor events off of a draw widget, and performing a moderately CPU intensive series of tasks (updating a direct graphics overlay in 3 windows) while moving the cursor. It usually works well, but when moving the cursor too fast (or for too long?) the widget will freeze. I can't close the widget, and hitting the .reset button does nothing. The Workbench behaves as if this is a modal widget -- which is not -- and does respond to any commands. The only way I can proceed is to exit IDL and start all over.
>
>
>
> I am going to try adding a "wait,0.1" to the cursor event code to see if that help avoid widget freeze. But does anyone have any idea what might be going on? thanks, --Wayne
|
|
|
Re: Widget Cursor Event Freezes [message #83666 is a reply to message #83665] |
Wed, 13 March 2013 11:17  |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
I meant to say that during a widget freeze, the keyboard does *not* respond to any commands.
On Wednesday, March 13, 2013 2:14:56 PM UTC-4, wlandsman wrote:
> I am reading cursor events off of a draw widget, and performing a moderately CPU intensive series of tasks (updating a direct graphics overlay in 3 windows) while moving the cursor. It usually works well, but when moving the cursor too fast (or for too long?) the widget will freeze. I can't close the widget, and hitting the .reset button does nothing. The Workbench behaves as if this is a modal widget -- which is not -- and does respond to any commands. The only way I can proceed is to exit IDL and start all over.
>
>
>
> I am going to try adding a "wait,0.1" to the cursor event code to see if that help avoid widget freeze. But does anyone have any idea what might be going on? thanks, --Wayne
|
|
|