[New-bugs-announce] [issue26377] Tkinter dialogs will not close if root window not packed.

Sam Yeager report at bugs.python.org
Wed Feb 17 10:07:00 EST 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue26377>
_______________________________________


More information about the New-bugs-announce mailing list