Terry J. Reedy <tjre...@udel.edu> added the comment:

The NMT doc adds "A transient window always appears in front of its parent." 
and I believe that this is why we use it and why I would not want to 
unconditionally delete the calls without thorough testing on both Linux and 
Windows.

IDLE calls this function for configdialog, its config-key subdialog, all query, 
search, and textview windows, help-about, and the IDLE-help doc window.  I 
believe in all cases the parent is normally an editor-base window.  There are 
also the tk/inter color and save dialogs.  The same may be true for them, but 
ultimately all should be tested both with menu clicks and hot keys.

Configdialog and about-IDLE are special in that their menu entries are 
transferred to the 'IDLE' submenu that macOS adds to the app menu.  So 
macosx.py has event handlers that make root the parent.  Both of these popup, 
on my Macbook, to the right of the centerline.  From what you say, at least 
these two should have conditional transient calls.

For reasons I don't understand (obsolete history?), there is also a 
mac-specific root-parent event handler for IDLE-help, even though that is left 
on the Help submenu, and popup up on top the the current window.

I can only test on my Macbook with installed Python (3.7.5, 3.8.0) and tk 
8.6.9.  Are all tk versions earlier than 8.6.10 the same?

----------
components: +macOS
nosy: +ned.deily, ronaldoussoren, taleinat

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

Reply via email to