[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

Tal Einat report at bugs.python.org
Wed Aug 1 04:35:41 EDT 2018


Tal Einat <taleinat at gmail.com> added the comment:

I can confirm that removing .grab_set() calls fixes this issue on macOS 10.13.5 with Python 3.7.0 from python.org.

Searching for those calls in all of IDLE's code lead me to discover additional similar issues, e.g. with the search dialog and the text viewer.  Removing the .grab_set() and .grab_release() calls fixes those issues as well.

I tried IDLE with these changes on Windows 10 with python build from the latest master branch.  Things appear to be working well without these calls.

Is it reasonable to simply remove the grab calls entirely?  I've created a PR with such a change to facilitate evaluating this approach.

----------
stage: patch review -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34120>
_______________________________________


More information about the Python-bugs-list mailing list