Skip to content

Htest closing failure #112569

Open
Open

Description

@terryjreedy

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?

Activity

  1. converted this from a draft issue on Dec 1, 2023
  2. self-assigned this
    on Dec 1, 2023
  3. terryjreedy commented on Dec 4, 2023

    @terryjreedy
    MemberAuthor

    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

Metadata

Metadata

Assignees

Labels

topic-IDLEtype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions