Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Program with Tk::TOTD not exiting properly

by Kirsle (Pilgrim)
on Nov 01, 2013 at 21:09 UTC ( #1060842=note: print w/ replies, xml ) Need Help??

in reply to Program with Tk::TOTD not exiting properly

Confirmed bug.

The problem is reproduced when you use the in-dialog "Close" button to dismiss the dialog. Clicking your window manager's "X" button doesn't reproduce the problem.

The root cause is that the "Close" button calls destroy() on the dialog, and the underlying DialogBox doesn't like this, because it calls WaitVariable and waits forever. Instead, I set the "selected_button" attribute of the DialogBox, which causes the DialogBox to close itself gracefully.

See: 8fa6e213.

I've uploaded Tk::TOTD 0.3 to CPAN that fixes this issue.

Comment on Re: Program with Tk::TOTD not exiting properly

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1060842]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-11-27 08:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls