-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-34120: fix IDLE freezing after closing dialogs #8603
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
bpo-34120: fix IDLE freezing after closing dialogs #8603
Conversation
Removed all calls to .grab_set() and .grab_release(), which are broken at the Tk level on macOS, and don't appear to have the desired effect elsewhere.
Note: The tests failed because of an IDLE test verifying that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like a no-brainer that grab should be followed by release, except that we got away with just destroy, until we didn't.
I verified that you got added all the missing releases and that there is no apparent change on Windows.
Two of you claiming that this fixes the issue is good enough for me for now. Go ahead and merge and backport to 2.7.
Thanks @taleinat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
GH-8613 is a backport of this pull request to the 3.7 branch. |
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing .grab_release() calls to all places where we call .grab_set().. (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Thanks @taleinat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
GH-8615 is a backport of this pull request to the 3.6 branch. |
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing .grab_release() calls to all places where we call .grab_set(). (cherry picked from commit 10ea940) Co-authored-by: Tal Einat <[email protected]>
Added missing
.grab_release()
calls to all places where we call.grab_set()
. This was missing in all cases other than idlelib.searchbase.https://bugs.python.org/issue34120