[New-bugs-announce] [issue43534] turtle.textinput window is not transient
Chris Winkler
report at bugs.python.org
Wed Mar 17 21:12:16 EDT 2021
New submission from Chris Winkler <quidnovum at gmail.com>:
When `turtle.textinput` is called in Python 3.9.2, the resulting dialog window is not marked as transient. This is not a problem in 3.9.1.
The offending change seems to come from bpo-42630. Specifically, `SimpleDialog.__init__` is being passed `parent=None`, and because of this `self.transient(parent)` is not being called.
A minimal program to reproduce the bug is attached. I'm happy to submit a pull request or something if it would help, but I don't know whether it's more correct to replace `parent` with `master` in the aforementioned if statement or something else.
----------
components: Tkinter
files: textinput_test.py
messages: 388980
nosy: quid256
priority: normal
severity: normal
status: open
title: turtle.textinput window is not transient
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file49885/textinput_test.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43534>
_______________________________________
More information about the New-bugs-announce
mailing list