Ticket #18 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

Game crashes if you have the house colour dropdown open when the game starts.

Reported by: stephen Owned by: stephen
Priority: major Milestone: 013
Component: client Version:
Keywords: Cc:

Description

Get guichan error "No focushandler set (did you add the widget to the gui?)".

Change History

Changed 7 months ago by stephen

  • milestone set to 013

Changed 7 months ago by stephen

This is actually a problem for all the dropdowns (i.e. the quest selection ones as well, not just the house colour dropdown).

When we close the quest selection screen and go into the game, all the gui widgets (including the dropdowns) get destroyed. However if one of the dropdowns is open, it looks like Guichan is still holding a reference to it, somewhere within the gcn::Gui object, even after we have deleted it. This then causes all sorts of problems the next time we call gcn::Gui::logic(), including exceptions and/or access violations.

I have worked around this by completely deleting the gcn::Gui and re-creating it when we go from one screen to another. This seems to get rid of the dangling references, and fix the problem.

Changed 7 months ago by stephen

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.