Closed
Description
Bug report
Bug description:
If mouse cursor was inside of tkinter window when tkinter window is opening up, the widgets inside the window become unresponsive (e.g. Click on button not registered). This weird state is resolved when user drag the window, or leaving the tkinter window region for a while.
I discovered this bug in x86_64 macOS 14. I could not reproduce this behavior on arm64 macOS 13 (M1 mac mini)
Any tkinter GUI is affected, even for the demo python3 -m tkinter
To reproduce:
- Open terminal
- Type
python3 -m tkinter
- Move the mouse cursor to where the tkinter window will be (Takes some practice and trial & error)
- Press enter to launch tkinter
- Try to click on button. Button would not respond.
- Try to leave the window area, or click on the title bar
- Try to click on button again. Button would respond.
CPython versions tested on:
3.11
Operating systems tested on:
macOS