Author terry.reedy
Recipients eamartin, ned.deily, rhettinger, ronaldoussoren, serhiy.storchaka, taleinat, terry.reedy, vtudorache, walters, wordtech
Date 2018-07-31.23:21:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533079267.27.0.56676864532.issue34120@psf.upfronthosting.co.za>
In-reply-to
Content
As with the tooltip modules (see #34275, msg322824), the dialog modules all have run-when-main test functions.  Unittests are also run, before the human-verified test.

python3 -m idlelib.searchbases fails in that the driver-box is not activated (lighted) when the searchbase box is closed.
Replace 'searchbase' with 'search', 'replace', or 'grep' which text subclasses of Searchbase, and an intermediate lighted window with a Text widget and 2nd button appear.  (For the grep test, click the window and maybe type something to put focus on the text.)  Click the button to get the dialog.  Close it.  The text window does not get lighted.  It does on Windows.  (There are other glitches on Windows that do not appear in IDLE itself).

Reproducing the 'wrong' text window being activated will require something new with two Toplevel text windows.
History
Date User Action Args
2018-07-31 23:21:07terry.reedysetrecipients: + terry.reedy, rhettinger, ronaldoussoren, taleinat, wordtech, ned.deily, serhiy.storchaka, walters, vtudorache, eamartin
2018-07-31 23:21:07terry.reedysetmessageid: <1533079267.27.0.56676864532.issue34120@psf.upfronthosting.co.za>
2018-07-31 23:21:07terry.reedylinkissue34120 messages
2018-07-31 23:21:07terry.reedycreate