1 minor finding · 1 suggestion
Findings
[minor] · Quit and close no longer exit after a fatal error during shutdown
If interruption or shutdown throws after shutdown starts, Exit, window close, tray Quit and platform quit stop working because requestQuit() bypasses the fatal-exit branch; the fatal popup's button still works.
Location: qml/pages/MainWindow.qml:97 (head).
Details and suggested fix
onRequestedShutdown sets shutdownInProgress, but a later runaway exception from interruption or shutdown sets nodeModel.fatalException and prevents normal shutdown completion. The new quit routes then return at this guard instead of reaching NodeModel::requestShutdown(), which deliberately handles fatal errors with std::_Exit(EXIT_FAILURE) before checking for duplicate requests. The base routes called that method directly. Handle fatalException before the QML shutdown guard, preserving the existing fatal acknowledgement behavior. Add a routing test that starts shutdown, sets the fatal state, and exercises Exit, close and platform quit. The existing qml_test_fatal_shutdown.py already exercises interruption/shutdown exceptions followed by quit and close acknowledgements, but it was not run here. This requires the rare production case of a runaway exception after shutdown has started; the popup's direct Shut down action remains available.
Optional improvements
[suggestion] · Background import success banner disappears after eight seconds
A background import's completion notice expires after eight seconds even in a visible but inactive window, so users can miss the result, although the imported wallet remains open and listed.
Location: qml/pages/MainWindow.qml:481 (head).
Details and suggested fix
Closing the import dialog lets users leave a potentially minutes-long rescan unattended. When it finishes, ToastBanner starts the dismissal timer after fading in without checking window activation. If another wallet is selected, completion also preserves that selection, so returning users must inspect the selector to discover the result. Keep the success banner until the user dismisses it or chooses Open, matching the failure banner. This is a notification tradeoff, not a wallet correctness failure. Timer behavior for a window hidden to the tray was not established; the visible-but-inactive case does not depend on it.