3 minor findings
Earlier concerns neither republished nor resolved: 1 minor finding · 2 suggestions. See the Run archive for their assessments.
Findings
[minor] · Onboarding drops an explicit NAT-PMP opt-out alongside listen-off or a proxy
On a fresh profile, disabling NAT-PMP together with listening or enabling a proxy loses the explicit opt-out, allowing port mapping on a later startup once those interactions no longer apply.
Location: qml/onboarding_settings.cpp:732 (head).
Details and suggested fix
During onboarding, turn NAT-PMP off and also disable listening or enable a proxy. ApplyPendingCoreSettings now writes listen/proxy changes and recomputes InitParameterInteraction before writing natpmp. With no existing natpmp setting, Core soft-sets natpmp=false in forced_settings. GuiOverrideValue then treats the user's touched false value as redundant and removes it from rw_settings, so it never reaches settings.json. Base computed interactions before writing any touched values and preserved this fresh-profile opt-out. If the user later re-enables listening or removes the proxy so these interactions no longer apply, a subsequent startup uses DEFAULT_NATPMP=true and starts port mapping. Preserve a touched, editable natpmp value when the final recomputation forces it, as the adjacent listen branch does. Add a regression that reloads the saved settings after removing the interaction and verifies natpmp remains false.
[minor] · Settings-recovery dialog ignores application Quit events
While the unreadable-settings Reset/Abort dialog is open, the application consumes Quit events without closing it, leaving startup blocked until the user chooses a button.
Location: qml/bitcoin.cpp:375 (head).
Details and suggested fix
An unreadable settings.json without an effective reset suppresses pre-init onboarding and reaches ErrorSettingsRead through synchronous prepare_node() on the GUI thread. QmlQuitHandler consumes application QEvent::Quit events and emits quitRequested, but this new QMessageBox::exec() has no connection to that signal and does not check for a pending quit. Repeated Quit events therefore leave the dialog open. Choosing Reset afterward also lets synchronous startup continue without checking the flag at that point. Base routed this case through the quit-aware onboarding loop. Pass the quit handler into ErrorSettingsRead, return Abort when quitting is already requested, and connect quitRequested to close the dialog with the Abort result. Extend the bootstrap quit tests to cover this prompt and verify that quitting leaves settings unchanged.
[minor] · -choosedatadir is ignored when the current profile's settings.json is unreadable
A malformed settings.json in the saved or default profile overrides a chooser request, leaving Reset or Abort instead of allowing selection of another data directory.
Location: qml/onboarding_settings.cpp:991 (head).
Details and suggested fix
ResolveOnboardingStartupStatus captures force_data_dir_chooser, including -choosedatadir and bootstrap or legacy fReset, but reads settings.json before using it. For a usable directory with unreadable settings and no effective -resetguisettings, the read-failure branch returns settings_file_unreadable=true. ShouldShowPreInitOnboarding then suppresses onboarding, so startup opens the recovery dialog for that profile rather than the requested chooser. Base checked chooser requests before reading settings; the unchanged selection could report an error, but the user could choose another directory. In the unreadable-settings branch, honor force_data_dir_chooser by returning ok=true and should_show_onboarding=true without setting the unreadable flag that suppresses onboarding.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [minor]: Config-redirected data directories can crash pre-init resolution (earlier report)
- [suggestion]: Settings-file recovery also resets unrelated GUI preferences (earlier report)
- [suggestion]: New-folder preview skips an explicit relative configuration file (earlier report)