#15894 closed defect (fixed)

There is a problem with r75633 (i think). Application ceased to be closed as it was before.

Reported by: tan Owned by: vadz
Priority: high Milestone: 3.0.1
Component: GUI-all Version: dev-latest
Keywords: Application terminate wxAUI Cc: troelsk@…
Blocked By: Blocking:
Patch: no

Description

The problem is possibly connected with wxAUI. It can be seen easily in the auidemo sample. It doesn't terminate after closing the main frame.

Change History (5)

comment:1 Changed 11 months ago by troelsk

  • Cc troelsk@… added

wxMSW: I see this too

comment:2 Changed 11 months ago by vadz

  • Owner set to vadz
  • Status changed from new to accepted

Thanks for reporting, I'll fix this.

comment:3 Changed 11 months ago by VZ

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

(In [75656]) Fix exit on last TLW logic after the change of r75633.

The changes in this revision meant to prevent the closure of transient dialogs
from quitting the application (see #15880) prevented any application using AUI,
including the aui sample, from exiting as the AUI utility frames deleted
during the main frame destruction were returning false from their
IsLastBeforeExit() now.

Fix this by relaxing the check and ignoring the parent if it is already being
deleted anyhow -- in this case there is no danger of closing it accidentally.

Closes #15894.

comment:4 Changed 11 months ago by pcor

  • Resolution changed from fixed to port to stable
  • Status changed from closed to portneeded

Currently on the 3.0 branch, AUI sample does not end when closed on wxGTK. Applying r75656 seems to fix it.

comment:5 Changed 11 months ago by VZ

  • Resolution changed from port to stable to fixed
  • Status changed from portneeded to closed

(In [75832]) Fix exit on last TLW logic after the change of r75630.

The changes in this revision meant to prevent the closure of transient dialogs
from quitting the application (see #15880) prevented any application using AUI,
including the aui sample, from exiting as the AUI utility frames deleted
during the main frame destruction were returning false from their
IsLastBeforeExit() now.

Fix this by relaxing the check and ignoring the parent if it is already being
deleted anyhow -- in this case there is no danger of closing it accidentally.

Closes #15894.

Note: See TracTickets for help on using tickets.