maxrd2 added inline comments.

INLINE COMMENTS

> broulik wrote in kmainwindow_unittest.cpp:267
> `mw->deleteLater()`?

Retried with all of these... none of them causes the failure, only closing the 
window manually cause it

  QApplication::postEvent(mw, new QDeferredDeleteEvent); // qpa/window manager 
sends this one.. with spontaneous flag tho
  QApplication::postEvent(mw, new QCloseEvent); // this one does absolutely 
nothing
  QTimer::singleShot(1000, [&](){ QApplication::sendEvent(mw, new 
QDeferredDeleteEvent); });
  mw->close();
  QTimer::singleShot(1000, [&](){ mw->close(); });
  mw->deleteLater();

REPOSITORY
  R263 KXmlGui

BRANCH
  fix-window-state-save

REVISION DETAIL
  https://phabricator.kde.org/D13808

To: maxrd2, #kde_applications, dfaure, elvisangelaccio, broulik, cfeck
Cc: asturmlechner, wbauer, aacid, ngraham, kde-frameworks-devel, michaelh, bruns

Reply via email to