CleverRaven / Cataclysm-DDA

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

progress is not shown when loading a game #75678

Closed db48x closed 1 week ago

db48x commented 1 month ago

Describe the bug

Instead of showing a menu with each step of the loading process, the screen is just black. The progress menu is a uilist, but this doesn’t appear to be a problem with the uilist class itself. Instead it appears that ImGui windows are just not being rendered. Perhaps the ui_adaptor stack is in the wrong order; I haven’t done enough debugging yet to figure it out.

Attach save file

n/a

Steps to reproduce

Load a saved game

Expected behavior

Some indication that the game is doing something, and hasn’t crashed.

Screenshots

Not much point of a screenshot for this one, since the whole screen is black :)

Versions and configuration

Additional context

No response

PatrikLundell commented 1 month ago

/Confirmed

Actual confirmation made on #74341.

mqrause commented 3 weeks ago

It looks like uilist is only drawn when uilist::query is called, since that's the only place that actually creates the uilist_impl. That never happens for the loading_ui and as a result it's not added to the ui_adaptor::ui_stack.