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.

classification
Title: IDE asks for attention when quitting
Type: Stage:
Components: macOS Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen, jvr
Priority: normal Keywords:

Created on 2003-02-11 23:03 by jackjansen, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (4)
msg14579 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-02-11 23:03
When you quit the IDE (in MacPython-OSX) via the popup menu in the dock it somehow asks for attention (the icon jumps up and down enthusiastically). When you the bring it to front it exits normally, without showing any message or anything.

I've looked at this a couple of times but never managed to find what is going on. Do you have any idea?
msg14580 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-02-28 16:05
Logged In: YES 
user_id=45365

Found the problem: the unconditional call to AEInteractWithUser() in the quit appleevent handler. I think this should be done differently. I've noticed that on OSX it's always safe to call AEInteractWithUser, even when not inside an AE handler. So, the simplest solution would be to call it in all the EasyDialogs calls and be done with it. Do you think this is reasonable? If so assign back to me and I'll do it.

The alternative is to do this for IDE only. That means that the various classes should call app.interact() before posting a dialog. app.interact() would then call AEInteractWithUser.
msg14581 - (view) Author: Just van Rossum (jvr) * (Python triager) Date: 2003-02-28 16:31
Logged In: YES 
user_id=92689

That sounds entirely reasonable...
msg14582 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-03-03 12:38
Logged In: YES 
user_id=45365

Fixed in PythonIDEMain.py rev. 1.31.
History
Date User Action Args
2022-04-10 16:06:45adminsetgithub: 37969
2003-02-11 23:03:56jackjansencreate