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

Home » Public Forums » archive » Re: X-windows locking up
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: X-windows locking up [message #32546 is a reply to message #32544] Tue, 15 October 2002 19:13 Go to previous messageGo to previous message
Jeff Guerber is currently offline  Jeff Guerber
Messages: 41
Registered: July 2000
Member
On Tue, 15 Oct 2002, Ian Dean wrote:

> [...]
> For instance, the following code:
>
> Pro my_test
> tlb = widget_base(column=1)
> message=widget_label(tlb,value='A header')
> my_base = widget_base(tlb, column=1)
> widget_control,my_base,sensitive=0 ; Don't allow the user access yet
> base2 = widget_base(my_base, row=1)
> pulld2 = widget_droplist(base2, value=['aaa','bbb'])
> base3 = widget_base(my_base, row=1)
> pulld3 = widget_droplist(base2, value=['ccc','ddd'])
> ; ... more such bases and widgets
> widget_control, tlb,/realize
> wait,5.0 ; Do some processing
> widget_control,my_base,/sensitive ; Now make structure available
> ;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the point when the system hangs
> end
>
> When I run the above under OpenVMS 7.1 and IDL 5.4 and the drop-down
> list is originally unavailable as expected. However, when my_base is made
> sensitive
> the droplist widget is enabled, but all the selections available
> ('aaa','bbb'...) are greyed out. Furthermore, at this point the X-system
> locks up. I can no longer size the screen, close it, minimise it.
> All I can do is reboot - not exactly desirable.
> [...]


I can confirm that this also occurs with IDL 5.5 on HP-UX ( !version =
{ hp_pa hp-ux unix hp-ux 5.5 Aug 28 2001 32 64} ), displaying on a
Hummingbird Exceed 7.0.0 x-server running on Windows 2000 Pro. I _was_,
however, able to type "exit" at the IDL> prompt.

I noticed that my_test doesn't have an event handler, so I tried it
with an appropriate xmanager call (first just before the end statement,
then just after the widget_control,/realize) and a simple handler, but it
didn't help. The first time, I neglected the /no_block keyword, it
completely locked up the terminal window... not even ^C worked... and I
had to kill the IDL process from another terminal window, but the second
time, with /no_block, I did still have the IDL command line. There was no
indication that the handler was ever entered (it would have printed out a
message). Good luck!

Jeff Guerber

P.S. Our newsserver received both versions of your posting, so the
first one wasn't lost after all.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: X-windows locking me out
Next Topic: Re: connected component labeling problem in a graylevel image without background

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

Current Time: Tue Dec 02 05:44:16 PST 2025

Total time taken to generate the page: 1.36538 seconds