carenalgas / popochiu

Godot plugin to make point n' click games in a similar way to tools like Adventure Game Studio and Power Quest.
MIT License
159 stars 17 forks source link

Engine crashes when changing the focus of the window #162

Closed mapedorr closed 5 months ago

mapedorr commented 5 months ago

Bug description

When changing from one GUI template to another, if one changes the focus of the Godot window while the files of the new template are being copied, and then comes back to Godot, the engine crashes (doesn't respond to clicks) and the only way to solve it it's by force-closing the process (using the Task Manager).

Steps to reproduce

  1. Open the Setup popup and change to one of the following templates: 9 Verbs, Sierra or 2-click Context-sensitive (it's easier with any of this because the process takes longer).
  2. After confirming the change, and once the copy process starts showing that it is in progress, change the focus of the Godot's window to another one (or change to another virtual desktop).
  3. Go back to Godot. The popup that shows the process will keep visible, preventing interaction with the engine.
  4. The popup won't close. (it seems that the copying process itself has stopped).

Expected vs observed behavior

If the process is stoping, it should continue no matter where the focus of the OS is. In case the process continues, the blue window popup should close itself once it finishes. And there is no way to close it manually.

Environment information (please complete):

Additional context

I tested this in Ubuntu and the same happens.

mapedorr commented 5 months ago

Will be fixed with #163