CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.72k stars 4.21k forks source link

Pressing `i` to ignore hangs for a bit, while loading a game #72203

Closed Brambor closed 7 months ago

Brambor commented 9 months ago

Describe the bug

Whenever there's an error while loading the game and I press i to ignore it, it takes a while to show the loading screen again. It feels like the input wasn't registered, so I used to spam the key a few more times.

Attach save file

Sure, this is my testing game, I am used to ignore a few errors on loading. Once there will be to many, I will make a new one, Turkey over fence-trimmed.tar.gz

Steps to reproduce

  1. Start loading a game
  2. When error appears press i to ignore it
  3. The debug menu stays for a bit.

Workaround: Resize the screen - this forces redraw, so the loading menu is shown.

  1. Start loading a game
  2. When error appears press i to ignore it
  3. resize the window
  4. Loading menu instantly appears.

Expected behavior

The moment I press ignore, the loading screen redraws again.

Screenshots

No response

Versions and configuration

Additional context

No response

Qrox commented 9 months ago

I think it's just waiting for the next redraw? We can probably increase the response speed but that involves adding input event pumping calls to the individual pieces of loading code (or rewriting the code to run a different UI thread).

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.