Connection settings: add restart-required state for listen, NAT-PMP, and RPC changes #588

Closed
opened 2026-05-06 08:54:46 +00:00 by johnny9 · 1 comment
johnny9 commented 2026-05-06 08:54:46 +00:00 (Migrated from github.com)

Code Gap

qml/components/ConnectionSettings.qml lets users change listen, natpmp, and server, and OptionsQmlModel writes those settings after onboarding. Unlike proxy settings, the page does not show a dirty/restart-required state after changing these values.

Qt marks these changes as restart-required in bitcoin/src/qt/optionsmodel.cpp and surfaces that in the Options dialog.

Work Needed

  • Track initial/current values for listen, natpmp, and server in OptionsQmlModel.
  • Expose a dirty/restart-required property for connection settings.
  • Show restart-required messaging in SettingsConnection.qml after post-onboarding changes.
  • Clear the dirty state when users revert to initial values.
  • Add tests for persistence, dirty-state transitions, and restart messaging.
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/44 --> ## Code Gap `qml/components/ConnectionSettings.qml` lets users change `listen`, `natpmp`, and `server`, and `OptionsQmlModel` writes those settings after onboarding. Unlike proxy settings, the page does not show a dirty/restart-required state after changing these values. Qt marks these changes as restart-required in `bitcoin/src/qt/optionsmodel.cpp` and surfaces that in the Options dialog. ## Work Needed - Track initial/current values for `listen`, `natpmp`, and `server` in `OptionsQmlModel`. - Expose a dirty/restart-required property for connection settings. - Show restart-required messaging in `SettingsConnection.qml` after post-onboarding changes. - Clear the dirty state when users revert to initial values. - Add tests for persistence, dirty-state transitions, and restart messaging.
jarolrod commented 2026-06-01 16:59:42 +00:00 (Migrated from github.com)

I’m working on a settings/onboarding QML branch that partially addresses this issue. This can be considered picked up for now; once the PR is ready, I’ll revisit whether it fully addresses this issue or whether follow-up work should remain tracked here.

I’m working on a settings/onboarding QML branch that partially addresses this issue. This can be considered picked up for now; once the PR is ready, I’ll revisit whether it fully addresses this issue or whether follow-up work should remain tracked here.
Sign in to join this conversation.
No description provided.