[issue27922] Make IDLE tests less flashy

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: After doing away with most of the flashes, we started adding tests using key and mouse event_generate, which seemed to require a visible GUI. So the goal seems a lost cause. If I revisit, a new issue. -- status: open -> closed

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Using findleak.py, attached to #30642, modified to always print the filename, I discovered that test_parenmatch also flashes (along with test_searchbase). The leak test runs each test_xyz module 9 times, so is a good way to see flashing. Adding 'root.withdraw

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d92ee3ea622b6eee5846681bad5595cfedcf20b6 by terryjreedy in branch '3.6': [3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172) https://github.com/python/cpython/commit/d92ee3ea622b6eee5846681bad5595cfedcf20b6 --

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2224 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 049cf2bb44038351e1b2eed4fc7b1b522329e550 by terryjreedy in branch 'master': bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) https://github.com/python/cpython/commit/049cf2bb44038351e1b2eed4fc7b1b522329e550 -- __

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2223 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27922] Make IDLE tests less flashy

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Using findleak.py, attached to #30642, modified to always print the filename, I discovered that test_parenmatch also flashes (along with test_searchbase). The leak test runs each test_xyz module 9 times, so is a good way to see flashing. Adding 'root.withdraw

[issue27922] Make IDLE tests less flashy

2016-09-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is more a matter of tradeoffs rather than 'okay'. There is no general pydev rule against gui flashing. The tk and ttk gui tests still do, but that is primarily Serhiy's concern. The IDLE tests are at most perhaps a third complete, so they would have become

[issue27922] Make IDLE tests less flashy

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: It's fine, knowing that the maintainer thinks this behaviour is okay. :) -- ___ Python tracker ___ ___

[issue27922] Make IDLE tests less flashy

2016-09-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the good detective work. The flash is always there, somewhere, though sometimes minimal. SearchBase.open begins with if not self.top: self.create_widgets() else: self.top.deiconify() self.top.tkra

[issue27922] Make IDLE tests less flashy

2016-09-04 Thread Xiang Zhang
Xiang Zhang added the comment: After some tries, I think it seems to be caused by the second open in test_open_and_close in SearchDialogBaseTest. The second open calls self.top.deiconify. -- ___ Python tracker __

[issue27922] Make IDLE tests less flashy

2016-09-04 Thread Xiang Zhang
Xiang Zhang added the comment: Hi Terry, I think this issue may be not completed. While running idlelib test with -ugui, I can sometimes still get a window flash. I think it's due to test_searchbase. Running python -m idlelib.idle_test.test_searchbase can reproduce the flash and adding withdra

[issue27922] Make IDLE tests less flashy

2016-09-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e4475894a79 by Terry Jan Reedy in branch '2.7': Issue #27922: IDLE test_idlehistory no longer flash tk widgets. https://hg.python.org/cpython/rev/6e4475894a79 -- ___ Python tracker

[issue27922] Make IDLE tests less flashy

2016-08-31 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27922] Make IDLE tests less flashy

2016-08-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf0cb86c6219 by Terry Jan Reedy in branch '2.7': Issue #27922: IDLE tests no longer flash tk widgets. https://hg.python.org/cpython/rev/bf0cb86c6219 New changeset ff3a6303c5b1 by Terry Jan Reedy in branch '3.5': Issue #27922: IDLE tests no longer fl

[issue27922] Make IDLE tests less flashy

2016-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is also a follow-up to #27918. Importing test.support causes a flash in the process of testing whether tkinter/tk work. So I was never able to get IDLE tests to completely stop flashing. Adding 'root.withdraw' to test.support.__init__ solves the import

[issue27922] Make IDLE tests less flashy

2016-08-31 Thread Terry J. Reedy
New submission from Terry J. Reedy: This issue follows-up on #27732, which suppressed beeps during IDLE tests, I want to also suppress the flashing of tk widget boxes, which has become visually obnoxious with the increasing number of tests. Adding root.withdraw() after root = Tk() solves the p