Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

progress is not shown when loading a game

Open db48x opened this issue 1 year ago • 2 comments

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

  • OS: Linux
    • OS Version:
  • Game Version: ad2c7edf6a-dirty [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Magiclysm [magiclysm], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]

Additional context

No response

db48x avatar Aug 14 '24 18:08 db48x

/Confirmed

Actual confirmation made on #74341.

PatrikLundell avatar Aug 15 '24 09:08 PatrikLundell

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.

mqrause avatar Aug 24 '24 19:08 mqrause