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 <1532734093.09.0.56676864532.issue34253@psf.upfronthosting.co.za>
In-reply-to
Content
Code to reproduce the problem: 

```
import tkinter as tk
from tkinter.messagebox import showinfo

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

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.
History
Date User Action Args
2018-07-27 23:28:13nytsetrecipients: + nyt
2018-07-27 23:28:13nytsetmessageid: <1532734093.09.0.56676864532.issue34253@psf.upfronthosting.co.za>
2018-07-27 23:28:13nytlinkissue34253 messages
2018-07-27 23:28:12nytcreate