New submission from Sam Yeager: Using the following code, the messagebox will not close, leaving it on top of all other open windows:
from tkinter import * rootWin = Tk() messagebox.showinfo("Title", "foo") If the root window contains a widget (Label, Entry, Button, etc.), the dialog can close. Similar results have been obtained with filedialog. OS: Mac OS X 10.10.5 Python IDE: IDLE 3.4.4 tkinter.TkVersion: 8.5 tkinter.TclVersion: 8.5 ActiveTcl: 8.6.4 ---------- components: IDLE, Macintosh, Tkinter messages: 260401 nosy: Sam Yeager, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Tkinter dialogs will not close if root window not packed. versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26377> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com