I wrote a Tck/Tk Toolbar program which allows to start Apps from it.
The ToolBar has Icons/Button to Start apps.
The GUI has windows which automatically disappear and only a small colored windows with a height 1 will stay. Moving the cursor here, the toolbox will appear again. You can have more than one toolbox sub windows. All toplevel windows are configure with ‘wm overrideredirect yes
Each toplevel window where you can pick the buttons, is moved out of the viewable screen area afetr some seconds.
Now pick one of the button, this will be executed for example:
- exec c:/temp/myTool.bat & (with ampersand)
- In myTool.bat I start wish.exe with an input tcl file and no ampersand
This works fine and works as expected.
But now, if I exit this spanned wish.exe the window which was picked in the Toolbar (parent process), to invoke myTool.bat will disappear. If I had 3 toolbar toplevel earlier now I’m left with 2 toolbar toplevel windows.
I work with Tcl/Tk for years, and I have no clue what happen here. Does anybody have an idea why this may happen.
Best Regards
The behavior is NOT reproducible if
wm overrideredirect yes
is not executed or set to no
Mole Cool is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.