New submission from Mark Roseman:

The confirmation, file, etc. common dialogs in tkinter accept both a 'master' 
and a 'parent' argument. Master is not required (it will use parent if not 
provided). Parent is used to associate the dialog with a given window. On Mac 
OS X, using parent further turns this into a 'sheet' attached to that window.

Most places in IDLE we're correctly using parent, but there are several places 
that master is provided, but not parent, e.g. IOBinding.py. This is most 
noticeable doing a 'do you want to save before closing...' where now it is not 
attached to the window on Mac, but it should be.

Need to go through the code, every place the common dialogs are used and check 
if master/parent are being used correctly.

----------
components: IDLE
messages: 251048
nosy: kbk, markroseman, roger.serwy, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE - several common dialogs don't have correct parent set
versions: Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25173>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to