[issue23128] Key presses are doubled in Tkinter dialog invoked from window close handler with Cocoa Tk

Ned Deily report at bugs.python.org
Fri Feb 6 17:32:27 CET 2015


Ned Deily added the comment:

The test case appears to only fail with OS X Cocoa Tk (tested with Tk 8.5.17 and 8.6.3); it does not fail with the older OS X Carbon Tk 8.4.20 nor with X11 Tk 8.6.3.  It also fails similarly with Python 3.4.x.  FWIW, there have been other reported problems with Tkinter SimpleDialog functions using Cocoa Tk, for example Issue16023, and a number of other issues unique to Cocoa Tk.  These kinds of problems are usually not simple to analyze, requiring tracing events through Tkinter and Tk and possibly lower-layer OS X APIs.  It often helps to eliminate Python and Tkinter from the equation by trying to reproduce the problem with equivalent Tcl code in the Tcl/Tk wish shell if anyone feels up to it.

----------
stage:  -> needs patch
title: Key presses are doubled in Tkinter dialog invoked from window close handler (OS X only) -> Key presses are doubled in Tkinter dialog invoked from window close handler with Cocoa Tk
versions: +Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23128>
_______________________________________


More information about the Python-bugs-list mailing list