Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Htest closing failure #112569

Open
terryjreedy opened this issue Dec 1, 2023 · 1 comment
Open

Htest closing failure #112569

terryjreedy opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@terryjreedy
Copy link
Member

terryjreedy commented Dec 1, 2023

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 #66819 (comment):

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?

@terryjreedy terryjreedy converted this from a draft issue Dec 1, 2023
@terryjreedy terryjreedy self-assigned this Dec 1, 2023
@terryjreedy terryjreedy added type-bug An unexpected behavior, bug, or error topic-IDLE labels Dec 1, 2023
@terryjreedy
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-IDLE type-bug An unexpected behavior, bug, or error
Projects
Status: No status
Development

No branches or pull requests

1 participant