For some reason deleteLater() called for the tooltip from the main window deactivation signal is really handled only on app quit :/ So now we use InvokeQueued(p, [p] { delete p; }); there instead. Fixes #3461