[Tcl/Tk 8.6]Tk window(toplevel) became unresponsive while launching tk_messageBox on Linux platform

Posted by anstiwar on 2018-07-05 05:24

Tcl/Tk Version Information:
Platform: Linux
Tcl Version: 8.6.7
Tk Version : 8.6.7

Issue: [Tcl/Tk 8.6]Tk window(toplevel) became unresponsive while launching tk_messageBox in Linux platform

Step to Reproduce issue:
1. create a sample tk window using toplevel command with a button.
toplevel .window
button .window.button1 -text "Ok" -command "puts hello"
pack .window.button1
(At this point everything works fine, .window and .window.button1 works fine)

2. open tk_messageBox. Now after launching tk_messageBox, .window and .window.button1 is became
unresponsive. Need to close tk_messageBox to overcome from this issue.

3. This behavior only is seen in the Linux environment. In the windows environment, it's working fine.

4. Check with older Tcl version (Tcl8.4) and its working fine on Linux as well.

AttachmentSize
Tcl_tk_8_6_tk_issue.JPG68.36 KB