notification that restart is needed for change to take effect #419

Closed
opened 2024-08-30 08:13:26 +00:00 by MarnixCroes · 3 comments
MarnixCroes commented 2024-08-30 08:13:26 +00:00 (Migrated from github.com)

Please describe the feature you'd like to see added.

When changing a setting, like enabling RPC, the app needs to be restarted for it to come into effect.
Thus having a notification that restart is needed should be there to let the user know.

qt gui has this.

No response

Describe the solution you'd like

some text pop up telling that a restart is needed.

(maybe later an actual restart button could be added too, so it's not only the text but clicking the button will restart)

Describe any alternatives you've considered

No response

Please leave any additional context

No response

### Please describe the feature you'd like to see added. When changing a setting, like enabling RPC, the app needs to be restarted for it to come into effect. Thus having a notification that restart is needed should be there to let the user know. qt gui has this. ### Is your feature related to a problem, if so please describe it. _No response_ ### Describe the solution you'd like some text pop up telling that a restart is needed. (maybe later an actual restart button could be added too, so it's not only the text but clicking the button will restart) ### Describe any alternatives you've considered _No response_ ### Please leave any additional context _No response_
pablomartin4btc commented 2024-11-26 15:39:34 +00:00 (Migrated from github.com)

(maybe later an actual restart button could be added too, so it's not only the text but clicking the button will restart)

I do agree with this.

> (maybe later an actual restart button could be added too, so it's not only the text but clicking the button will restart) I do agree with this.
johnny9 commented 2026-05-29 15:54:32 +00:00 (Migrated from github.com)

Triage notes from the current QML settings surface:

Settings pages/components that should support a restart-needed notice:

  • qml/pages/settings/SettingsConnection.qml / qml/components/ConnectionSettings.qml

    • listen: Enable listening
    • server: Enable RPC server
    • natpmp: currently persisted in QML; Qt Widgets applies this live, so either implement live apply or show the restart notice.
  • qml/pages/settings/SettingsProxy.qml / qml/components/ProxySettings.qml

    • proxy: default SOCKS proxy enable/address
    • onion: Tor proxy enable/address
    • This page already has a restart advisory, but it should probably be unified with the shared notice pattern.
  • qml/pages/settings/SettingsStorage.qml / qml/components/StorageSettings.qml

    • prune
    • pruneSizeGB
  • qml/pages/settings/SettingsDeveloper.qml / qml/components/DeveloperOptions.qml

    • dbcacheSizeMiB
    • scriptThreads
  • qml/pages/node/MempoolInformationSettings.qml / qml/components/MempoolInformationRows.qml

    • maxMempoolSizeMB
    • This row already says “Applies after restart”, but should probably use the same notice mechanism.
  • qml/pages/settings/SettingsLanguage.qml

    • language
  • qml/pages/settings/SettingsWallet.qml / qml/components/WalletSettings.qml

    • externalSignerPath
    • Qt Widgets treats the external signer path as restart-required. QML also has “Check device” behavior, so the wording may need care.

Probably not needed:

  • Display unit: applies live.
  • Theme / dark mode: applies live.
  • Block status size: UI-only.
  • Debug log, peers, network traffic, about: no persisted restart-required option.
  • Storage location during onboarding: node is not running yet, so restart notice is not relevant there.
Triage notes from the current QML settings surface: Settings pages/components that should support a restart-needed notice: - `qml/pages/settings/SettingsConnection.qml` / `qml/components/ConnectionSettings.qml` - `listen`: Enable listening - `server`: Enable RPC server - `natpmp`: currently persisted in QML; Qt Widgets applies this live, so either implement live apply or show the restart notice. - `qml/pages/settings/SettingsProxy.qml` / `qml/components/ProxySettings.qml` - `proxy`: default SOCKS proxy enable/address - `onion`: Tor proxy enable/address - This page already has a restart advisory, but it should probably be unified with the shared notice pattern. - `qml/pages/settings/SettingsStorage.qml` / `qml/components/StorageSettings.qml` - `prune` - `pruneSizeGB` - `qml/pages/settings/SettingsDeveloper.qml` / `qml/components/DeveloperOptions.qml` - `dbcacheSizeMiB` - `scriptThreads` - `qml/pages/node/MempoolInformationSettings.qml` / `qml/components/MempoolInformationRows.qml` - `maxMempoolSizeMB` - This row already says “Applies after restart”, but should probably use the same notice mechanism. - `qml/pages/settings/SettingsLanguage.qml` - `language` - `qml/pages/settings/SettingsWallet.qml` / `qml/components/WalletSettings.qml` - `externalSignerPath` - Qt Widgets treats the external signer path as restart-required. QML also has “Check device” behavior, so the wording may need care. Probably not needed: - Display unit: applies live. - Theme / dark mode: applies live. - Block status size: UI-only. - Debug log, peers, network traffic, about: no persisted restart-required option. - Storage location during onboarding: node is not running yet, so restart notice is not relevant there.
jarolrod commented 2026-06-01 16:57:59 +00:00 (Migrated from github.com)

I’m working on changes that address this issue in a settings/onboarding QML branch. I plan to submit the PR soon and will link it here once it’s open.

I’m working on changes that address this issue in a settings/onboarding QML branch. I plan to submit the PR soon and will link it here once it’s open.
Sign in to join this conversation.
No description provided.