This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vtudorache
Recipients eamartin, ned.deily, rhettinger, ronaldoussoren, serhiy.storchaka, taleinat, terry.reedy, vtudorache, walters, wordtech
Date 2018-08-01.19:11:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533150669.33.0.56676864532.issue34120@psf.upfronthosting.co.za>
In-reply-to
Content
I've checked again the source code in config_key.py, configdialog.py, help_about.py, query.py, searchbase.py, textview.py and added a self.grab_release() in functions like ok() and cancel() before the call to self.destroy() and I see no more lock/focus issues. Maybe the grab was kept in the non-existent (destroyed) dialog window, so the click events could not be transferred to the pyshell or editor, but, because of a local (not global) grab, clicking on another application's window, by losing focus and grab, completely freed the event-chain, then clicks in IDLE were correctly received.
Can you confirm if adding the grab_release() calls works for you too (do not remove the grab_set() calls!)?
History
Date User Action Args
2018-08-01 19:11:09vtudorachesetrecipients: + vtudorache, rhettinger, terry.reedy, ronaldoussoren, taleinat, wordtech, ned.deily, serhiy.storchaka, walters, eamartin
2018-08-01 19:11:09vtudorachesetmessageid: <1533150669.33.0.56676864532.issue34120@psf.upfronthosting.co.za>
2018-08-01 19:11:09vtudorachelinkissue34120 messages
2018-08-01 19:11:09vtudorachecreate