Message322516
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. |
|
Date |
User |
Action |
Args |
2018-07-27 23:28:13 | nyt | set | recipients:
+ nyt |
2018-07-27 23:28:13 | nyt | set | messageid: <1532734093.09.0.56676864532.issue34253@psf.upfronthosting.co.za> |
2018-07-27 23:28:13 | nyt | link | issue34253 messages |
2018-07-27 23:28:12 | nyt | create | |
|