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 serhiy.storchaka
Recipients Nikolay.Fomichev, gpolo, serhiy.storchaka, terry.reedy
Date 2014-06-02.06:11:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is not Tkinter bug, this is normal Tk behavior. Here is minimal reproducer on Tcl/Tk :

    button .b -text "Click me"
    bind .b <Button-1> {tk_messageBox -message "The button is sunken!"}
    pack .b

I suppose the button is left sunken because the message box steals a focus.

In general binding mouse click event for button is not a good idea, because it makes a button non-usable with keyboard. Use the "command" option.
Date User Action Args
2014-06-02 06:11:36serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, gpolo, Nikolay.Fomichev
2014-06-02 06:11:36serhiy.storchakasetmessageid: <>
2014-06-02 06:11:36serhiy.storchakalinkissue11387 messages
2014-06-02 06:11:36serhiy.storchakacreate