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.

Author nyt
Recipients nyt
Date 2018-07-27.23:28:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Code to reproduce the problem: 

import tkinter as tk
from tkinter.messagebox import showinfo

root = tk.Tk()
entry = tk.Entry(root)
# root.update() # remove comment to fix the problem
showinfo('alert', 'this parrot is dead!')

Running this code will show the alert, and when the user clicks "ok" the entry widget acts as if it's disabled and won't focus. Minimizing and restoring the tkinter window brings the entry widget back to normal operation. 

Workaround: Calling `update()` before the messagebox or filedialog call gives normal behaviour. 

This issue only affects Windows as far as I can tell.
Date User Action Args
2018-07-27 23:28:13nytsetrecipients: + nyt
2018-07-27 23:28:13nytsetmessageid: <>
2018-07-27 23:28:13nytlinkissue34253 messages
2018-07-27 23:28:12nytcreate