New submission from Chris Winkler <quidno...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43534>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to