tkinter events not working since Python 3.14 w/ Tk 9.0 #141237
Copy link
Copy link
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Nov 8, 2025 - addedextension-modulesC modules in the Modules dirC modules in the Modules dir
on Nov 8, 2025 - changed the title
[-]tkinter events not working since Python 3.14[/-][+]tkinter events not working since Python 3.14 w/ TK 9.0[/+]on Nov 8, 2025 - changed the title
[-]tkinter events not working since Python 3.14 w/ TK 9.0[/-][+]tkinter events not working since Python 3.14 w/ Tk 9.0[/+]on Nov 11, 2025 I can reproduce this issue, and I have verified it would be fixed by gh-128103.
Thanks, @chrstphrchvz. I've merged gh-128103, so closing this as fixed. Thanks for the report, @der-eismann!
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
Bug description:
Hey everyone, I tried updating an application that uses tkinter from Python 3.12 to 3.14, however it stopped working. After spending some time debugging and testing I found that 3.13 works fine, but ultimately it stops working with 3.14, probably because of the upgrade to TCL/TK 9.0.
Essentially it looks like the event bindings are broken, at least the handlers are not called when an event is generated. I couldn't find anything in the changelogs so far. Here's a minimal example that I can run on Fedora with 3.12 and 3.13, but not with 3.14 (taken from here:
Thanks in advance!
CPython versions tested on:
3.14
Operating systems tested on:
Linux