Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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 studying the Monastery: (12)
As of 2016-10-28 14:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (384 votes). Check out past polls.