In comp.soft-sys.ptolemy, [EMAIL PROTECTED] (Peter Gunreben) writes:

    When using Ptolemy-Classic with KDE, the computer will
    hang for about 30 seconds if an error message occurs.
    
    The reason for this behavior is based in the procedure
    ::tycho::Dialog::wait.
    
    To overcome this problem you may comment out the following
    section in $PTOLEMY/tycho/kernel/gui/Dialog.itcl
    
    # if $autoraise {
        # If the user mouses in another window, raise
        # bind $instance <Button> "+raise $instance"
        # If the user moves the mouse in another window, raise
        # bind $instance <Motion> "+raise $instance"
    # }
--------
Thanks, I added a note about this to a couple of places
in Ptolemy Classic 0.7.1 pages.

In general, autoraise is a rather tricky thing to get right.
If autoraise is not working, and a modal dialog box is invoked, then
the UI will appear to freeze if the modal dialog is not visible.

In general, modal dialogs are usually considered to be a 'bad thing',
but sometimes they are unavoidable.

I don't have a Linux box on hand to test this workaround, so
I'm not going to fold it into the Ptolemy classic devel tree at this
time, but it is listed as a bug, so we might look at it in the future.

-Christopher

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to