Bloc icon indicating copy to clipboard operation
Bloc copied to clipboard

Cannot close frozen window for SDL2 host

Open labordep opened this issue 2 years ago • 2 comments

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 ?

labordep avatar Nov 01 '23 10:11 labordep

https://github.com/pharo-graphics/Bloc/assets/49183340/5c92d19e-4bbf-430b-bf00-056942ddff83

labordep avatar Nov 01 '23 11:11 labordep

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:

Screenshot 2023-11-02 at 12 21 51

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.

tinchodias avatar Nov 02 '23 15:11 tinchodias