[Pythonmac-SIG] Phantom Dock menu entries for tkinter dialogs on Mac

Mark Lutz lutz at learning-python.com
Tue Dec 13 17:01:52 EST 2016


Ah; thanks for checking.  I should have tested under Tk 8.6, but was 
following the stock recommendation at python.org to use ActiveState's
8.5 (as most of the target audience will), and python.org's installers
(which don't support Tk 8.6, but may soon?).

Will upgrade and have a look.  Hopefully, 8.6 will clear up a few other
AS 8.5 oddities too - weirdly slow Text scrolls, windows losing focus 
on popups, and the like - though it largely works well enough to qualify
as compelling, and better than the version shipped with the box.  

Cheers,
--Mark Lutz, http://learning-python.com


> -----Original Message-----
> From: Kevin Walzer <kw at codebykevin.com>
> To: pythonmac-sig at python.org
> Subject: Re: [Pythonmac-SIG] Phantom Dock menu entries for tkinter dialogs
>  on Mac
> Date: Tue, 13 Dec 2016 06:50:53 -0500
> 
> On 12/6/16 9:43 PM, Mark Lutz wrote:
> > A simple demo of the problem is attached below: every "destroy" popup
> > lingers on in the launcher's Dock menu after it's closed (whether by
> > the red "X" or the widget.destroy() callback), and remains in the Dock
> > menu until the main window is closed (by widget.quit() or otherwise).
> > This happens whether the script is run by click or command line.
>
> I can't reproduce this using Tkinter built against Tk 8.6.6. There were 
> a lot of issues with menus, the event loop, and so on that have been 
> fixed--I don't recall seeing this exact issue but I did see similar 
> things with "ghost windows" hanging around in a system menu after being 
> destroyed. You may want to update your installation of Tk.
> 
> --Kevin
> 
> -- 
> Kevin Walzer
> Code by Kevin/Mobile Code by Kevin
> http://www.codebykevin.com
> http://www.wtmobilesoftware.com
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> https://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
> 


More information about the Pythonmac-SIG mailing list