Page MenuHomePhabricator

Application refuses to be closed by the red x
Closed, ResolvedPublic

Description

To reproduce:

  1. Open DI App
  2. Do whatever (even nothing)
  3. click on the little red 'x' in the top right corner

-> Doesn't close, but crashes if you try to do something else

Event Timeline

Being more or less the only one suing windows, I'll take a look at this.

So far I tracked it to berry::WorkbenchWindow::HardClose()

The call to this->CloseAllPages() seems to behave differently.

Stefan suggested this might be due to multithreading, where the process waits for some kind of event.

On a related note the suspicion, that this might be the same issue as T9718 seems to be founded, as the crash described there happens directly after CloseAllPages()

[0e8d83]: Merge branch 'bug-9715-closing-does-not-work'

Merged commits:

2011-10-14 17:52:57 Caspar Goch [885593]
Fixed en- or disabling nonexisting QAction

The changes for T9654 added the option to configure whether or not some menu entries were added as QActions, but they were still en-/disabled, even though they did not exist...