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

Home » Public Forums » archive » Re: Widget problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Widget problems [message #361] Tue, 19 May 1992 07:45
murthy_j is currently offline  murthy_j
Messages: 15
Registered: February 1991
Junior Member
In article <1992May19.102810.91@degsyd.syd.deg.csiro.au> ip_boss@degsyd.syd.deg.csiro.au (Jack Churchill) writes:
> In article <1992May18.143725.24636@jhunix.hcf.jhu.edu>, murthy_j@jhunix.hcf.jhu.edu (Jayant Murthy) writes:
>>
>> I am just starting to use widgets and I'm having a lot of trouble with the
>> IDL hanging; I have to use a ctrl-z to stop the process. I suspect that most
>> of the problem was caused by my using a Draw widget and the mouse
>> generating thousands of events in that window. I have now switched over to
>> using a regular window for my graphics and just using widgets for buttons and
>> sliders.
>> Is this a common problem and is there any reason to use a Draw widget rather
>> than a regular window? Even now ISL hangs occaisonally; I think it is usually
>> when I move my mouse over another wdget immediately after selecting one.
>> I am running IDL v2.3.0 under IRIX 4.4.
>
> The problem could be caused by your server not handling the backing store
> properly. Try it again after saying DEVICE,RETAIN=2 to force idl to look after
> the backing store.
>
> --
> Jack N. Churchill | jack@syd.deg.csiro.au
> CSIRO Division of Exploration Geoscience | churchill@decus.com.au
> PO Box 136 North Ryde NSW 2113 | Phone: +61 2 887 8884
> Australia | Fax: +61 2 887 8909


I do use device,retain=2 because my SGI does not handle backing store at
all.

I am still having problems with IDL freezing up. My application is fairly
simple: I put up two images in different colours, use sliders to change the
contrast, and use buttons for various image analysis. Most of my problems
seem to occur when I call another program which atkes cuts across the
images and plots them in another window.

In debugging this procedure I also found a bug in IDL. If you have common
variables defined and type SAVE,/ALL you get a segmentation fault and a
core dump. I have reported this to RSI.

Jayant Murthy
Dept. of Physics
JHU
murthy@pha.jhu.edu
Re: Widget problems [message #363 is a reply to message #361] Mon, 18 May 1992 17:28 Go to previous message
ip_boss is currently offline  ip_boss
Messages: 2
Registered: March 1992
Junior Member
In article <1992May18.143725.24636@jhunix.hcf.jhu.edu>, murthy_j@jhunix.hcf.jhu.edu (Jayant Murthy) writes:
>
> I am just starting to use widgets and I'm having a lot of trouble with the
> IDL hanging; I have to use a ctrl-z to stop the process. I suspect that most
> of the problem was caused by my using a Draw widget and the mouse
> generating thousands of events in that window. I have now switched over to
> using a regular window for my graphics and just using widgets for buttons and
> sliders.
> Is this a common problem and is there any reason to use a Draw widget rather
> than a regular window? Even now ISL hangs occaisonally; I think it is usually
> when I move my mouse over another wdget immediately after selecting one.
> I am running IDL v2.3.0 under IRIX 4.4.

The problem could be caused by your server not handling the backing store
properly. Try it again after saying DEVICE,RETAIN=2 to force idl to look after
the backing store.

--
Jack N. Churchill | jack@syd.deg.csiro.au
CSIRO Division of Exploration Geoscience | churchill@decus.com.au
PO Box 136 North Ryde NSW 2113 | Phone: +61 2 887 8884
Australia | Fax: +61 2 887 8909
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: xdemo crashes twm in IDL 2.3
Next Topic: Gaussian CDF Plotting

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

Current Time: Fri Oct 10 09:58:04 PDT 2025

Total time taken to generate the page: 0.80147 seconds