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

Home » Public Forums » archive » insensitive WIDGET_DROPLIST causes major freeze
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: insensitive WIDGET_DROPLIST causes major freeze [message #34878 is a reply to message #34865] Mon, 28 April 2003 15:36 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dear M. (what does M. stand for)

I have tried it but it works.

Here is my example. where is it different to yours.


PRO test_event,ev
cmd=WIDGET_INFO(ev.id,/uname)

CASE cmd[0] OF
'SWITCH': $
WIDGET_CONTROL,WIDGET_INFO(ev.top,find_by_uname='ROW1'),/sen sitive
'QUIT':WIDGET_CONTROL,ev.top,/destroy
ELSE:
ENDCASE
END

PRO test
tlb=WIDGET_BASE(col=3)
row1=WIDGET_BASE(tlb,sensitive=0,uname='ROW1')
st = ['A','B','C','D']
filterID = WIDGET_DROPLIST(row1, VALUE=st, UVALUE='dont_bug_me')
button=WIDGET_BUTTON(tlb,value='SWITCH',uname='SWITCH')
quit=WIDGET_BUTTON(tlb,value='QUIT',uname='QUIT')
WIDGET_CONTROL,/realize,tlb
XMANAGER,'test',tlb
END


I have tested on suSE 8.2 (KDE3.1 and the newest X-Server)

help,!version,/str
** Structure !VERSION, 8 tags, length=76, data length=76:
ARCH STRING 'x86'
OS STRING 'linux'
OS_FAMILY STRING 'unix'
OS_NAME STRING 'linux'
RELEASE STRING '5.6'
BUILD_DATE STRING 'Oct 26 2002'
MEMORY_BITS INT 32
FILE_OFFSET_BITS
INT 64


regards

Reimar

M. Katz wrote:

> I just alerted RSInc about this, but I thought I'd share it with the
> list.
>
> I found a multi-platform widget_droplist bug. I know droplist has been
> depricated in favor of the combobox, but I'm still using droplist in
> some places. So far this bug has caused problems on Red Hat Linux
> (7.1?) and Mac OS X 10.2.5 running X11 beta 3.
>
> Here's the bug.
>
> Create a widget_droplist with a command like this.
>
> st = ['A','B','C','D']
> filterID = widget_droplist(row1, VALUE=st, UVALUE='dont_bug_me')
>
> This is important: the widget_base that contains row1 is created with
> SENSITIVE=0 to begin with.
>
> Now, in response to a separate event, the base is made SENSITIVE with
> a widget_control command to the base.
>
> I click on the droplist, and it pops up with all of the options
> grayed-out. The mouse cursor turns to a up-and-to-the-right-facing
> arrow, and the entire X session locks up except for mouse motion.
>
> On Linux the whole session is completely frozen, all windows are
> unresponsive. I had to log-in remotely to kill IDL.
>
> On Mac OS X 10.2.5, the same thing happens, all of X was frozen with
> the droplist openand the right-facing arrow showing. But since X11
> runs as an application, I just opened a terminal window and killed the
> job from the command line; the rest of the OS kept humming along (mp3s
> didn't skip a beat :P )
>
> Anyone else see this kind of behavior?

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PVCS issues!!!
Next Topic: Re: problem with checkbox in cw_form

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

Current Time: Sat Nov 29 21:51:32 PST 2025

Total time taken to generate the page: 2.47534 seconds