robertlugg / easygui

easygui for Python
http://easygui.readthedocs.org/en/master/
BSD 3-Clause "New" or "Revised" License
458 stars 115 forks source link

Only the first call to enterbox() puts the dialog box in focus. #180

Open asweigart opened 3 years ago

asweigart commented 3 years ago

When you first call enterbox() (or codebox() which is dependent on it) later calls to enterbox() (or codebox()) won't have the dialog box in focus.

To reproduce, run import easygui as eg;eg.codebox();eg.textbox() and notice that codebox() will be in focus but textbox() won't. You can also run import easygui as eg;eg.textbox();eg.codebox() to notice that codebox() isn't in focus. The problem always seems to happen to the dialog box call after the first one.