Run editor htest; make editor; close test box first. See
warning: callback failed in WindowList <class '_tkinter.TclError'> : invalid command name ".!menu.window"
window.WindowList.call_callbacks, line 51. (Why call all on deletion?)
I believe this test worked before.
Use Toplevel(parent) instead of Tk() for test-specific childs windows of the main, master window. Currently, for some tests, such as CallTipWindow, the focus does not properly shift to the test window. Closing the master window first leaves the test window open. Closing the test window second then causes several tcl errors (printed to console if available), a Windows message, and an Idle freeze of 5 seconds or more before Idle works again. The change in this initial patch fixes the focus, non-close, error, and hang problems. One click and the test window is ready to go; one click on the master and both go away.
But have noticed that not all close problems gone. Maybe because not all callables properly edited yet?
When run module browser after multicall, get slew of errors in multicall del and unbind not seen if run multicall by itself. Many bad tk names. Must not be properly shut down when closed editor closed.
Run editor htest; make editor; close test box first. See
warning: callback failed in WindowList <class '_tkinter.TclError'> : invalid command name ".!menu.window"
window.WindowList.call_callbacks, line 51. (Why call all on deletion?) I believe this test worked before.From https://github.com/python/cpython/issues/66819#issuecomment-1093666867:
But have noticed that not all close problems gone. Maybe because not all callables properly edited yet?