Ticket #122 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Exiting to the Main Menu loses UI state

Reported by: knowknowledge Owned by:
Priority: major Milestone: 0.5.0
Component: UI Version:
Keywords: Simulation, UI, Main Menu Cc:

Description

Exiting to the main menu closes all of the Windows (and other Widgets). This means that critical windows (The Loading Screen) are lost. This can make the game unplayable (The only option is to quit) since there is no way to progress. All Window that pause the game partially have this problem since the game will be paused on the return.

I suggest a UI::StoreState?( ... ) and UI::RestoreState?( ... ) or just making the UI a non-singleton.

Change History

comment:1 Changed 2 years ago by knowknowledge

  • Component changed from AI to UI

comment:2 Changed 2 years ago by knowknowledge

  • Status changed from new to closed
  • Resolution set to fixed

I added UI::SwapScreens?() which retains UI state.

Note: See TracTickets for help on using tickets.