Bloc
Bloc copied to clipboard
Cannot close frozen window for SDL2 host
When I'm debugging an SDL window, I'm working on the debugger or there are some exceptions due to development. After working, even, this window stay open. I cannot close this window using the cross button.
A way to close theses dead windows is to open a new clean window, then, dead windows are closing.
But sometimes, I cannot start other windows (because of debug sessions or work in progress or something like that).
Why these windows cannot be closed ?
Others questions: Is it possible to save an image with opened windows ? What is the bevahior when I'm re-open the image ?
https://github.com/pharo-graphics/Bloc/assets/49183340/5c92d19e-4bbf-430b-bf00-056942ddff83
If you want, save your image and try executing:
[ [
500 milliSeconds wait.
BlOSWindowSDL2Host start ] repeat ]
forkAt: 20 named: 'Watchdog for BlOSWindowSDL2Host'
Execute only once per image. If you open the Process Browser, you should see ONE entry for this "watchdog" process:
But I this doesn't look as the solution. At least, it assumes that the debugger is opened in Morphic World, i.e. the debugger is not a Bloc one.
I will work more on this.