This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Eugene K., serhiy.storchaka, terry.reedy
Date 2015-07-12.03:02:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436670141.48.0.550641322045.issue24587@psf.upfronthosting.co.za>
In-reply-to
Content
The issue is the interaction between stacking and focus. I am pretty sure that this is not a Python bug and that this issue should be closed.  I suspect that the behavior is not even a tk bug, but simply how Windows' graphics system work.

In any case, the attached file avoids the stacking issue by temporarily replacing a Button with an Entry in a grid. It works on Windows 2 and 3 (the upload file has 'tkinter' for 3.x) and should work anywhere.  I leave it to you to add grid args to position and anchor the widgets better.  Also, the Entry widgets need to be a bit taller to match the Buttons.
History
Date User Action Args
2015-07-12 03:02:21terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, Eugene K.
2015-07-12 03:02:21terry.reedysetmessageid: <1436670141.48.0.550641322045.issue24587@psf.upfronthosting.co.za>
2015-07-12 03:02:21terry.reedylinkissue24587 messages
2015-07-12 03:02:21terry.reedycreate