Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2635 closed defect (fixed)

[PATCH] Aborting delete of an unit or building with ESC renders UI unusable.

Reported by: thorkill Owned by: Itms
Priority: Must Have Milestone: Alpha 17
Component: UI & Simulation Keywords:
Cc: Patch:

Description

When you try to delete/remove an unit or building by:

  • selecting your unit/building
  • hit DELETE
  • hit ESC

you will render the UI of the game unusable - you can not exit (pause comes), you can not delete any units/buildings. On top of the screen pop-ups this message:

WARNING: A messagebox was called when a previous callback function is still set, aborting!

Attachments (1)

msgbox.patch (2.6 KB ) - added by Itms 10 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Itms, 10 years ago

Keywords: review patch added
Milestone: BacklogAlpha 17
Owner: set to Itms
Priority: Release BlockerMust Have
Summary: Aborting delete of an unit or building with ESC renders UI unusable.[PATCH] Aborting delete of an unit or building with ESC renders UI unusable.

by Itms, 10 years ago

Attachment: msgbox.patch added

comment:2 by Itms, 10 years ago

Resolution: fixed
Status: newclosed

In 15584:

Handle callback functions when using the "leave" hotkey (by default Esc) to close a message box.

Fixes #2635

comment:3 by Itms, 10 years ago

Component: Core engineUI & Simulation
Keywords: review patch removed

The committed version of the patch uses "mbLeaveHotkey" rather that "mbEscapeKey" for consistency reasons.

Note: See TracTickets for help on using tickets.