WIP: qml: update model design #1142

Draft
johnny9 wants to merge 79 commits from qt6-qml-owned-models into qt6 AGit
johnny9 commented 2026-11-18 00:45:31 +00:00 (Migrated from github.com)

This moves the QML frontend's wallet, send, PSBT, Activity, Receive, settings,
startup, console and peer logic out of the monolithic controllers into owned,
revisioned models that do their work off the GUI thread. The QML adopts the
upstream design system from #1052 (see the
interactive object model and shutdown lifecycle walkthrough
and design notes).
Each row in the Fixed table names tests that passed in the final validation (see Validation
for which runs used the exact final tree).

Depends on #1090 and #1096

This PR is based on two open PRs. Their commits come first, in this order (rebased onto qt6 db9aa8429ac):

  • #1090 Move detailed QML functional coverage into integration tests (39 commits, 19a75d973e4)
  • #1096 qml: enforce QML lint and Core validation in CI (9 commits, based on #1090, 042d9388dda)

This PR supersedes #1109: qml/backendexecutor.{cpp,h} is replaced by qml/executor.{cpp,h}, and #1109's task-outcome, cancellation, and drain test cases are carried forward in test/test_backendexecutor.cpp (credited via Co-authored-by in 3f9feaeea8f).

Review only the 31 commits after those 48 dependency commits (listed below). Once the dependencies merge, this PR drops their commits.

#1090 was rebased onto qt6 after #1052 (design system). Each conflict resolution follows
#1052's renamed controls and keeps its test setup; #1052's startup-error functional case, in a
file #1090 deletes, is kept as a scenario in interface_qml_startup.py. Testing the rebased
#1090 found further interactions with #1052; they are fixed in the commit that introduced each
test, or in three new commits at its end.

#1096 adds the QML lint gate and the app's Core lint, clang-tidy and sanitizer entry points;
this PR's checks run through them. Rebased, its first commit also makes #1052's QML pass the
gate: typed ApplicationModels access, imports #1052's rewrites need, and #1096's extracted
components rebuilt from #1052's restyled code. It now builds on #1090: its lint fixes to tests
#1090 deletes are dropped, and it covers #1090's code.

The #1090 rebase conflicts and the failures fixed after it are in this description's edit history (removed for length).

Architecture

The QML front end follows doc/architecture.md and the
GUI QML Object Model
(source & design notes):
models hold data, controllers hold one use case's state and actions, each operation reports its
own outcome, and QML binds to state and calls one action per user event. QML
passes back no request ids, tickets, or revisions and holds no operation it
started.

  • App controllers: WalletController, WalletCreationController,
    WalletNamesController, and DesktopTrayIconController.
  • Page controllers: SendDraftController, SendImportController,
    TransactionReviewController, FeeBumpController,
    PaymentRequestViewController, PaymentRequestDeleteController,
    ActivityDetailController, PeerCommandController,
    SettingsNavigationController, WalletPasswordController,
    and WalletBackupController.
  • One shared execution::Executor provides the Core, Priority, Rpc, and
    Utility lanes. Utility has separate IO, signer and
    cleanup workers: settings writes run on Priority, UI preferences on Utility, and
    native wallet release on cleanup. Node lifecycle
    and the Qt payment-link listener retain their dedicated threads.
  • Quit keeps the existing shutdown page visible while Qt processes events,
    drains accepted work, joins feature-owned threads and the shared executor,
    and finally destroys native interfaces off the GUI thread.

Commits

After the 48 dependency commits (#1090, #1096), this PR has 31 commits organized in two parts:

Part 1 — Foundation, defect fixes, area refactors and build/naming cleanup (15 commits)

Follow-up fixes, test-only additions, dead-code removal, and closeAdmission() → close() are folded into their owning commits. Files used by several areas belong to the area that owns them, so the area commits do not build one by one; the series is validated as a whole at the final commit.

Commit Area Notes
3f9feaeea8 qml: add execution, backend guarantees and test infrastructure Foundation (supersedes #1109)
eb215cd157 qml: reject substituted external signer transactions Defect fix
20c2851bbe qml: authenticate PSBT fee inputs before review and broadcast Defect fix
d7d8c2919e qml: confirm the final backup destination before writing Defect fix
38609d1313 qml: stop retaining RPC console secrets Defect fix
6b02a94157 qml: parse localized amounts exactly Defect fix
1af84d1e19 qml: extract wallet opening, catalog, creation, restore and signer discovery Area refactor
4f980d9e2a qml: extract the Send draft, fee selection, coin selection and submission Area refactor
ec60d10f91 qml: extract PSBT analysis, signing, signer approval and fee replacement Area refactor
e1d473b4c1 qml: extract payment and PSBT import Area refactor
1f8225cb99 qml: extract Activity, receive requests, labels and receipt reconciliation Area refactor
eaffaa2062 qml: migrate settings, onboarding, startup and node lifecycle Area refactor
60c02c01a0 qml: extract navigation, console, logs, peers and native intents Area refactor (monolith removals folded in)
a0d3735e9c build: drop the Core Qt Widgets implementation from the app and tests Build cleanup
b4144df52b refactor: apply approved QML type, model, controller and backend names Naming and cleanup

Part 2 — Standalone issue fixes on the final approved names (16 commits)

Each commit targets one open issue that the refactor did not cover and pairs the fix with its regression test (except where noted):

  • c3653522d7 qml: stop offering receive types Core refuses to generate (Addresses #1088)
  • 111c2c970c qml: start Receive from an explicit -addresstype (Fixes #1137)
  • 1ec57d4941 qml: accept a custom fee rate with an empty whole part (Fixes #1130)
  • 1f6f0f6faa qml: save a new transaction as a version 0 PSBT (Fixes #1112)
  • 4983adcb0d qml: make Return cancel irreversible confirmations (Fixes #1139)
  • 2d35fafc20 qml: drop a focused settings edit when the app quits (Fixes #1114)
  • 37695c901c qml: warn about pruning in the Close wallet question (Fixes #1127)
  • 0532559ac6 qml: bring the window into view when a quit starts (Fixes #1126)
  • 6afb4b60b5 qml: keep the Activity list where the user left it on a confirmation (Fixes #1120)
  • a372b92f97 qml: build Activity calendar days at local noon (Fixes #1128)
  • 1510f0323b qml: show a receiving address's label on payments it receives (Fixes #1135)
  • f29ee4b0a2 qml: offer CJDNS and local-network choices in the Peers filter (Fixes #1113)
  • 840861a87c test: pin that wallet notifications update coin and address rows in place (Refs #1119; guard tests, see Addressed)
  • 91c4d6d70d qml: give a dialog the keyboard as soon as it is shown (Fixes #1134)
  • b50879a359 qml: start every wallet password prompt masked (Fixes #1133)
  • e1c089831e qml: drop pasted line endings from a new wallet passphrase (Fixes #1132)

Issues

Fixed (63; verified by a named test)

Issue Title Test Commit
#737 Watch only wallets can leave a wallet on disk if adding xpub fails WalletQmlControllerTests::createWatchOnlyCleansUpWhenDescriptorImportFails; watchonly.enabled.failedXpubImportReportsTheBlankWalletLeftOnDisk 1af84d1e19
#759 Support Imported PSBTs Whose Displayable Outputs Are All Wallet-Owned PsbtWorkTests::ownedOutputReviewDoesNotDependOnSigning ec60d10f91
#846 bitcoin-core-app: Assert hit when using a relative datadir path functional interface_qml_startup.py: startup-failure-missing-datadir, startup-failure-missing-relative-datadir, existing-relative-datadir eaffaa2062
#947 Import wallet error on already imported wallet wallet.enabled.restoreRejectsInvalidAndDuplicateBackupsWithoutFilenameClassification; wallet.enabled.importingABackupOfALoadedWalletExplainsTheExistingWallet 1af84d1e19
#997 Custom fee input can overflow and use a different rate FeeSelectionTests::exactRateTransport 4f980d9e2a
#1000 Send: Leaving an untouched amount field can cancel Use maximum send.enabled.leavingAnUntouchedAmountFieldKeepsMaximum (click-away and tab-away); send.enabled.refreshedMaximumSurvivesLeavingTheFocusedAmountField 4f980d9e2a
#1001 Send: Empty Manual coin selection still chooses inputs automatically send.enabled.emptyManualSelectionCannotBroadenToWalletInputs; send.enabled.emptyManualChoiceShowsNoInputsAndCannotReview 4f980d9e2a
#1004 Wallet picker: An unnamed wallet supported by Core cannot be opened wallet.enabled.unnamedWalletOpensClosesAndReopensFromThePicker; wallet.enabled.unnamedWalletPresentAtStartupIsNamedAndOpensFromThePicker 1af84d1e19
#1015 When fee estimation is unavailable, the custom fee picker needs to make it clear SendCreate::test_equal_fee_rates_preserve_actual_provenance; WalletQmlModelTests::coreFallbackFeeReachesPresetsAndReview; send.enabled.presetsAndCustomRateMakeNoBlockTargetPromise 4f980d9e2a
#1042 Receive: Request still says “Payment received” after its payment is cancelled receive.enabled.originalReorgRepaintsTheOpenRequestFromActualCurrentCredit; receive.enabled.replacementPayingElsewhereReturnsTheOpenRequestToAwaitingPayment 1f8225cb99
#1047 Watch-only send: review offers an unusable Send action after #935 watchonly.enabled.createFromXpubAndPrepareUnsignedTransaction ec60d10f91
#1063 Import PSBT trusts an incorrect fee from Core’s PSBT analysis for review and broadcast psbt.enabled.authenticatedLegacyFeeReview 20c2851bbe
#1064 Receive crashes the application when dynamic settings are disabled with -nosettings receive.enabled.addressPreferenceWriteReportsDisabledSettings 1f8225cb99
#1065 Proxy settings: closing or resetting the page silently discards unsaved changes SettingsNavigation::test_doneAsksBeforeDiscardingAProxyDraft; settings.enabled.reselectingConnectionKeepsTheProxyDraft eaffaa2062
#1067 Send: an old Paste confirmation can overwrite a newer payment request PaymentImportTests::changedTargetRetiresOldReplacementAndRequiresFreshConsent; payment-import.enabled.openUriWhileConfirmPasteIsOpen e1d473b4c1
#1069 Sign message keeps the incorrect-password error after Cancel receive.enabled.cancelledMessageAuthorizationClearsItsErrorAndRetainsEarlierSignature 1f8225cb99
#1070 Import PSBT accepts structurally invalid transactions into review and signing PsbtWorkTests::outputTotalsBeyondMaxMoneyNeverReachReview; psbt.enabled.structurallyInvalidImportNeverReachesSigningOrCommit ec60d10f91
#1071 Import PSBT shows “Ready to broadcast” without accounting for transaction identity or current node state psbt.enabled.nodeReadinessAndIndependentSpend (nonfinal-locktime and below-advertised-relay-fee rows); psbt.enabled.nodeReadinessAndIndependentSpend:mempool-replacement-accepted; psbt.enabled.broadcastSignedPsbtIsKnownByItsFinalizedIdentity; PsbtFeeTests::finalizedTransactionAdmissionUsesExactPublicNodeRpc (eviction-lookup-exception-is-disclosed, malformed-eviction-lookup-is-disclosed) ec60d10f91
#1073 Settings migration and reset can destroy the recoverable copy of the configuration OptionsModelTests::capturedResetKeepsOriginalBackupAcrossCompletion; OptionsModelTests::failedOnboardingWriteKeepsLegacyProxyForRetry eaffaa2062
#1075 Storage settings change pruning values after toggling and misrepresent manual pruning PruneDraftTests (whole class); settings.enabled.configuredPruneTargetSurvivesToggleAndRestartNotice; settings.enabled.manualPruneIsShownAndTurnsOffOnlyAfterTheRebuildWarning eaffaa2062
#1077 Send: Use maximum hides preparation errors and leaves an unusable amount SendCreate::test_failed_maximum_exposes_original_cause_and_refresh; send.enabled.oversizedMaximumPreservesCoreCauseAndRecoversWithFewerCoins; WalletQmlModelTests::coreApiFeePreviews:maximum-fallback-disabled-custom-recovery 4f980d9e2a
#1078 RPC console: passphrase and HD private-key arguments remain visible in requests and history console.*.secretRequestsStayRedactedAfterClear 38609d1313
#1081 Receive/Send: decimal-comma input can change 0,02 BTC into 2 BTC send.enabled.localizedTypedSendPreparesExactOutput; receive.enabled.localizedTypedRequestPersistsExactAmount (14 rows in total) 6b02a94157
#1082 Back up wallet: appending .bak after Save can overwrite a different file without confirmation wallet.enabled.backupRefusalPreservesSelectedAndFinalFiles d7d8c2919e
#1083 Receive: Undo can restore another payment request’s amount TypedReceive::test_new_editor_does_not_inherit_the_previous_native_undo_context; TypedReceive::test_blank_amount_edit_cannot_be_undone_into_the_next_blank_request; receive.enabled.activityRequestUndoStaysWithTheOpenedRequest 1f8225cb99
#1085 Saving a payment request can clear another wallet’s reserved receiving address WalletReservationTests::persistedReservationsKeepExactWalletIdentity 1af84d1e19
#1086 Reselecting the checked Custom fee option overwrites the entered rate send.enabled.reselectingCustomPreservesTheReviewedExplicitRate 4f980d9e2a
#1087 Send ignores an enabled avoid_reuse wallet policy send.enabled.avoidReusePolicyFiltersDirtyOnlyBalance; send.enabled.avoidReusePolicyGovernsMaximumBadgeAndPreparedInputs 4f980d9e2a
#1089 Returning Enable listening to its saved value can disable listening after restart OptionsModelTests::coreSettingsSessionRevertingToDefaultPersistsExplicitOverride; settings.enabled.returningBooleanSettingToDefaultOverConfigPersistsExplicitOverride eaffaa2062
#1091 Sign and Verify replace non-breaking spaces in the message receive.enabled.publishedNbspSignatureVerifiesThroughTheNativeEditor; receive.enabled.pastedNbspMessageKeepsExactBytesForVerifyAndSign 1f8225cb99
#1093 Proxy Save can leave a partial Default/Tor configuration after a write failure settings.*.savingProxyDraftCommitsBothEntries; settings.enabled.proxySaveWriteFailureKeepsBothEditsAndPersistsNothing eaffaa2062
#1094 Receive: creating a request from Address details silently discards an existing draft receive.enabled.createRequestFromAddressDetailsAsksBeforeReplacingADraft (keep-editing and discard) 1f8225cb99
#1095 Activity: amount filter excludes request amounts and drifts after wallet updates ActivityList::test_open_amount_range_keeps_committed_values_when_history_maximum_changes; activity.enabled.requestAmountsAboveTransactionsStayReachableUnderThePaymentRequestFilter; activity.enabled.coinAmountRangeKeepsTheDraggedMaximumWhenALargerCoinArrives 1f8225cb99
#1098 Send review labels an uppercase wallet-owned recipient as change send.enabled.uppercaseBech32RecipientRemainsRecipientOutput 4f980d9e2a
#1099 Activity: Today keeps yesterday's entries after midnight ActivityFilterProxyModelTests::relativeDateRefreshUsesManualClockAndRejectsYesterdayBeforePublish; ActivityFilterProxyModelTests::automaticDateTimerMovesTodayPastMidnightWithoutAnotherEdit 1f8225cb99
#1100 A Core initialization failure exits the app with status 0 functional interface_qml_preinit_onboarding.py (asserts exit status 1 on an initialization failure) eaffaa2062
#1101 Wallet picker shows one wallet twice when its name ends in / wallet.enabled.rpcTrailingSeparatorHasOneCanonicalCatalogIdentity; wallet.enabled.trailingSeparatorStartupWalletIsOneOpenRowAndCreationRejectsIt 1af84d1e19
#1102 Send hides Use payment request after importing a different invoice message payment-import.enabled.clipboardOfferComparesPublicMessageIndependentlyOfPrivateNote e1d473b4c1
#1103 Activity grouping changes after reopening a wallet despite an explicit selection ActivityList::test_two_live_grouping_views_and_reopen_keep_the_last_explicit_choice 1f8225cb99
#1105 Peers search does not accept the displayed #ID PeerListModelTests::displayedPeerIdSearchPreservesOrdinaryText 60c02c01a0
#1106 Send-all and Speed Up confirmations can ignore the selected display unit SendCreate::test_sweep_alerts_follow_the_current_amount_unit; fee-bump.enabled.speedUpFeesFollowTheGlobalDisplayUnit; send.enabled.sendAllReviewFollowsAGlobalDisplayUnitChange ec60d10f91
#1107 Activity search misses the spaced address shown in Send Review activity.enabled.sharedSendReviewAddressFormattingFindsTheOriginalActivityAndCsv 1f8225cb99
#1108 Activity can hide an entire custom date range when the following local date was skipped ActivityFilterProxyModelTests::skippedCivilDayDoesNotExcludeValidInclusiveEnd 1f8225cb99
#1112 Save transaction writes a version 2 PSBT that Bitcoin Core 31 cannot read PsbtWorkTests::exportReviewOwnsOriginalDocument; send.enabled.preparedReviewAndExportRemainStableWhenMoreFundsArrive (both check version 0; imported PSBTs keep their version) 1f6f0f6faa
#1113 Peers network filter has no choice for local, LAN or CJDNS peers, so any selection hides them UiPreferencesTests::localAndCjdnsPeersHaveANetworkChoice; PeerListModelTests::networkFilterMatchesCjdnsAndLocalPeers (CJDNS and Local network choices) f29ee4b0a2
#1114 Settings: a focused number field is saved during quit, after shutdown has started, with no confirmation or error settings.*.quitDropsAnUnsavedNumberSettingDraft; settings.*.quitDropsAFocusedTextSettingEdit (an unconfirmed edit is discarded at quit) 2d35fafc20
#1115 Send: moving Use maximum to a second recipient leaves the first with the old maximum and blocks Review send.enabled.maximumHandoverClearsTheFormerRecipient; send.enabled.maximumHandoverNamesTheRecipientNeedingAttention 4f980d9e2a
#1118 File menu commands still run behind the open Add wallet wizard navigation.*.nativeFileRouteCannotNavigateBehindTheOwnedWalletModal; navigation.enabled.nativeWalletCommandsCannotRunBehindTheAddWalletWizard 60c02c01a0
#1120 Activity: what should the list do when a pending transaction confirms? It currently jumps away from the newest rows activity.enabled.listAtTheTopStaysAtTheTopWhenAConfirmationArrives; activity.enabled.scrolledListStaysWhereTheUserLeftItWhenAConfirmationArrives (the list stays where the user left it) 6afb4b60b5
#1121 Send: importing a payment request for the same amount leaves Use maximum active payment-import.enabled.equalImportedAmountReplacesMaximumIntentWithoutChangingTheRequest 4f980d9e2a
#1126 Quit while the window is hidden or minimized shows nothing: the only shutdown notice is pushed into the window that stays hidden lifecycle.*.quitWhileHiddenOrMinimizedShowsTheShutdownPage (the window is shown and raised; the minimized row cannot stay minimized offscreen, so it needs a macOS check) 0532559ac6
#1127 "Close wallet" says nothing about pruning: a wallet left closed on a pruned node can later not be opened without re-downloading the chain DesktopWallets::test_close_prompt_warns_about_pruning_only_on_a_pruned_node (warns only when the node is pruned) 37695c901c
#1128 Activity date-range calendar has no cell for the day daylight saving starts at local midnight ActivityList::test_calendar_draws_every_day_of_every_month_once, also run as CTest bitcoinqml_calendar_midnight_dst with TZ=Africa/Cairo a372b92f97
#1130 Send: the Custom fee-rate field drops a leading period and keeps the digits, so .5 is sent as 5 sat/vB FeeSelectionTests::exactRateTransport (leading-period rows); send.enabled.customRateTypedWithLeadingPeriodKeepsItsValue 1ec57d4941
#1131 RPC console: a wallet loaded from outside the picker becomes the console's target, and a command already typed runs in it RpcConsoleModelTests::explicitTargetsReplaceAmbiguousConsoleIngress; console.enabled.externallyLoadedWalletDoesNotRetargetTheConsole; RpcConsoleModelTests::historyRecallIsRefusedOnceWhenTheWalletTargetChanged; console.enabled.recalledCommandAsksBeforeRunningInAnotherWallet 60c02c01a0
#1132 A passphrase pasted with a trailing line ending is kept byte for byte, so the wallet is encrypted with a character the user cannot see or type FormControls::test_passwordTextFieldDropsPastedLineEndingsOnlyForANewPassphrase; WalletCreationFlow::test_create_form_drops_pasted_line_endings_from_the_passphrase; WalletPasswordSettings::test_update_password_drops_pasted_line_endings_only_from_the_new_passphrase; WalletPassphrasePopup::test_unlock_prompt_keeps_a_pasted_line_ending (only new-passphrase fields drop them) e1c089831e
#1133 Wallet password prompt: after "show password" is used once, every later opening starts in clear text WalletPassphrasePopup::test_reopen_starts_masked_after_a_reveal b50879a359
#1134 The wallet password prompt takes the keyboard only after its 300 ms fade-in, so an early key goes into the field behind it WalletPassphrasePopup::test_keys_typed_during_the_fade_in_reach_the_passphrase_field 91c4d6d70d
#1135 Activity: a receiving address's label is not shown on incoming payments unless a payment request exists for the address TransactionActivityModelTests::usesPrivateRequestNotesWithoutChangingStoredData; TransactionActivityModelTests::queuesWalletNotificationsAndRetainsStableIndexes (payments fall back to the address label) 1510f0323b
#1136 An open transaction page keeps the old "Show in …" links after the third-party transaction URL setting is changed or cleared AsyncOptionsTests::manualTransactionLinksFollowTheSettingWhileAViewIsOpen; TransactionDetail::test_thirdPartyTransactionLinks_follow_the_setting_while_the_page_is_open 60c02c01a0
#1137 Receive does not start from the node's -addresstype receive.enabled.receiveStartsFromTheConfiguredAddressType (legacy, bech32, p2sh-segwit and unset rows: a saved choice, then an explicit -addresstype, then Taproot) 111c2c970c
#1138 A Core message that waits for an answer is not brought into view when the window is hidden or minimized, and the node waits behind it node.*.runtimeQuestionMakesTheHiddenNativeWindowReachable; node.enabled.runtimeQuestionRestoresTheMinimizedNativeWindow eaffaa2062
#1139 One Return key press confirms "Send all funds": since #1052 alerts answer Return with their only Normal action, including irreversible ones SendCreate::test_review_sweep_return_key_keeps_the_review_and_sends_nothing; DesktopWallets::test_return_key_in_the_update_prompt_does_not_confirm_it; WalletCreationFlow::test_return_key_in_the_unencrypted_warning_does_not_create_the_wallet; DesktopWallets::test_return_key_in_the_close_prompt_keeps_the_wallet_open 4983adcb0d

Addressed (19; partly verified, stay open)

Issue Title Verified Not verified
#594 Proxy settings: add advanced Qt proxy parity EffectiveSettingsTests::unsupportedProxyListsStayVisibleAndCannotBeErased; EffectiveSettingsTests::perNetworkProxySurvivesEveryEditorPath; SettingsPreservationTests::setupKeepsPerNetworkProxyFromConfiguration; settings.enabled.configuredPerNetworkProxySurvivesSettingsEdits feature request: per-network proxy entries are preserved and shown read-only (setup now matches Settings), but cannot be edited; an editor is a follow-up
#709 Add backup reminder after encrypting a wallet from settings WalletPasswordSettings::test_set_password_explains_older_backup_coverage; wallet.enabled.settingsSetPasswordExplainsChangedBackupCoverage the changed-backup-coverage explanation is tested end to end; a separate backup reminder after encryption is a follow-up
#762 Introduce imported PSBT session state separate from send draft state PsbtFeeTests::finalizedTransactionAdmissionUsesExactPublicNodeRpc; psbt.enabled.importedPsbtExportChangesOnlyWhenSigned; psbt.enabled.closingAnImportedReviewKeepsANewerPaymentRequestDraft a fully wallet-owned imported PSBT still commits through the wallet, by design; the issue asks for wallet commit only for wallet-originated drafts
#963 Node information: display cached data and refresh asynchronously node.*.invalidatedHeaderReadbackMatchesCore; NodeModelTests::informationRowsReopenFromCacheWhileStatusReadIsHeld no test matched individually to the empty-result, backend-error, newer-notification and shutdown cases, or to the repeat during initial block download
#966 Keep wallet discovery, preflight and close off the GUI thread wallet.enabled.rpcLoadRacingPickerOpenKeepsTheGuiIntentAndSelection; wallet.enabled.stalledWalletDirectoryReadsKeepTheGuiResponsive; wallet.enabled.closingWhileCoreHoldsTheWalletRegistryKeepsTheGuiResponsive no test matched individually to every listed case (stale name checks, missing files, duplicate initialization); an atomic load subscription and per-opening unload receipt need Core
#972 Receive Bitcoin: move address creation, request persistence and payment reconciliation off the GUI thread receive.enabled.typedReceiveRejectsOversizeQrAndRecoversWithoutBlankExport; receive.enabled.receiveWorkWaitsForABusyWalletOffTheGuiThread; receive.enabled.concurrentReceiveDefaultsStayPerWallet; receive.enabled.deletingARequestLeavesTheSameIdInAnotherWallet no test matched individually to every listed case (large histories, A→B→A switching, late completion after unload); labels and requests have no expected-version writes in Core
#974 Fee selection and coin control: move remaining queries and writes off the GUI thread WalletTransactionTests::selectedSpentMissingAndBadIndexNeverReachConstruction; send.enabled.viewCoinsDropsTheMarkOfASpentCoin; send.enabled.temporaryReorgAbsenceKeepsTheManualSelection; send.enabled.displayUnitChangeDoesNotRefreshTheCoinList; send.enabled.staleCoinContextActionCannotPersistATemporaryLock blocked queries and writes, label-scan cost, hidden-view scheduling and stale fee previews are not turned into end-to-end criteria (unit tests cover coin reads and lock writes off the GUI thread)
#975 Keep PSBT import, review, signing and export off the GUI thread SendCreate::test_psbt_save_error_remains_visible_in_review; psbt.enabled.psbtImportSigningAndBroadcastStayOffTheGuiThread no test matched individually to slow file storage, multisig, or every stale-import and close-during-work case
#976 Keep fee replacement preparation, signing and commit off the GUI thread BumpTransactionModelTests::confirmFeeBump_rechecksEligibility; psbt.enabled.feeBumpPreparationAndCommitStayOffTheGuiThread no test matched individually to every listed case (changed targets, repeated confirmation, mined or replaced originals); signer waits still hold cs_wallet in Core
#977 Keep external signer discovery and approval responsive watchonly.enabled.heldSignerProcessDoesNotBlockTheWalletPicker; fee-bump.enabled.failingExternalSignerEndsSpeedUpWithARetryableFailure; SignerDiscoveryTests::timeoutDoesNotCancelOrStartAnotherProcess hung-helper, cancellation and shutdown behavior during approval is not tested end to end; a signer subprocess cannot be cancelled (needs Core)
#1008 Send reports success when the transaction is rejected by the local mempool receive.enabled.sendOutcomeReportsObservationOrRejectsStaleReview:broadcast-disabled; send.enabled.localMempoolRejectionIsNeverReportedAsSent a rejection at commit after testmempoolaccept passed cannot be produced deterministically; reporting it needs a typed commit receipt from Core
#1066 macOS: overlapping PSBT dialogs leave keyboard input blocked QmlFileDialogTests::chooserAdmissionRejectsOverlapAndReentry; QmlFileDialogTests::cancellingTheVisibleChooserReleasesModalityAndAdmission macOS native-panel modality and focus restore are not testable on Linux
#1072 Activity double-counts incoming replacements and misclassifies pending transactions TransactionActivityModelTests::pendingTotalTracksReplacementRoleChangesWithoutCountChanges; activity.enabled.reorgReturnedOriginalIsTheOnlyPendingVersionNotItsEvictedReplacement; activity.enabled.incomingReplacementIsTheOnlyPendingPayment; activity.enabled.expiredPaymentLeavesPendingWithoutABlock no test for a backup restored before the node catches up
#1074 Connection settings can save overrides that prevent the next startup EffectiveSettingsTests::startupConstraintFamilies; EffectiveSettingsTests::unresolvableProxyHostCannotBeSavedForTheNextStart with DNS on, a host that fails only at the next start is recovered by reopening setup; covered for -proxy by a functional test, not for -onion
#1084 Wallet refreshes save unfinished address labels and reset list position receive.enabled.labelCommitPreservesTheNextRowsFocusedEditor; activity.enabled.addressListKeepsItsScrollPositionAcrossRefreshes; activity.enabled.coinListsKeepTheirScrollPositionAcrossRefreshes no test for the reported sequence: a payment to another address while a label edit is unfinished
#1088 Receive offers unsupported address types and can default to an unusable one receive.enabled.receiveOffersOnlyTypesTheActiveDescriptorsCanGenerate: legacy-, segwit-, p2sh-segwit- and taproot-only wallets get an address of their type on the first attempt; a type Core refuses is no longer offered, and choosing it reports that the wallet cannot generate it types not yet tried stay listed until one is refused; removing them up front needs a Core per-type capability query (QEXPECT_FAIL in the test)
#1104 Send fee preview uses a different change-output type from transaction preparation send.enabled.feePreviewLimitationKeepsCoreReviewAuthoritative: Review and the PSBT use Core's fee; the gap is pinned by taproot-preview-deferral (1530 vs 1650 sat) deferred: the preview still sizes change as the wallet's default type; matching Core's choice needs a Core change-type query
#1117 Import PSBT: the wallet's own change is listed as a recipient and added to the total when the wallet cannot send PsbtWorkTests::ownedOutputReviewDoesNotDependOnSigning; psbt.enabled.ownOutputsArePresentedTheSameWithoutSigningKeys own outputs no longer depend on signing ability, but stay listed as outputs by design
#1119 macOS: wallet notifications arriving close together can crash the app once the Addresses or View coins page has been opened CoinsListModelTests::backToBackRefreshesUpdateRowsInPlaceWithoutResettingTheModel; AddressListModelTests::backToBackRefreshesUpdateRowsInPlaceWithoutResettingTheModel: back-to-back refreshes update rows in place, with no model reset the crash is in macOS accessibility during a refresh and does not reproduce on Linux; needs a check in a native macOS window
  • #618 Wallet open: show load progress, warnings, and errors from wallet selection: already closed
  • #993 Reset transaction review when it reopens: open: closing the completion page clears a URI imported behind it
  • #995 wallet: RPC coin locking leaves coin status and available balance stale: needs Core: lock-change notification and the lock-persistence fix
  • #1026 PSBT Save silently writes nothing after a wallet change: already closed; a related fix here retires the backup Save chooser with its wallet
  • #1068 macOS: PSBT chooser can leave Open disabled for a selected valid file: macOS-specific; no test
  • #1076 macOS: QML ignores Bitcoin-Qt’s saved custom data directory: macOS-only
  • #1097 Send review labels the package fee target as the transaction's fee rate: open: the review still shows the requested package target under Fee rate
  • #1116 Quitting or unloading a wallet while an Activity list is still applying a wallet change crashes the app with SIGSEGV: the Activity commit detaches a hidden list's model, as the issue suggests, but the crash does not reproduce on Linux even without that, so there is no test; needs a macOS check
  • #1122 External signer: pick up bitcoin/bitcoin#36114 and update the signer test: issue asks to adopt bitcoin/bitcoin#36114; app-side substitution checks only address it
  • #1125 "Update wallet" on a legacy wallet says nothing about what Core did: open: deferred
  • #1129 Receive reserves an address when its tab is shown: open: deferred; reserving at Create instead needs a rework of the Receive flow

Production fixes made while adding regression tests

Each is in its issue's commit, beside the test that failed without it.

  • #1072 (broad, review closely): Activity takes "pending" from Core's mempool membership, not the replacement marker. A reorged-back original showed as Replaced and its evicted replacement as pending. Touches activityreader, transactionactivitymodel, walletpayments, CSV export and Activity QML ("Not in mempool").

  • #977: a signer failure during Speed Up was stuck in Uncertain; now a retryable Sign failure (walletbump.cpp).

  • #974: View coins kept marks of spent coins; a unit change rebuilt every coin list.

  • #594: setup offered a per-network proxy as editable and then refused Start; now read-only, as in Settings.

  • #1071: an accepted replacement names the transaction it evicts; if that lookup fails, the review says so instead of implying nothing is evicted.

  • #762: closing an imported review keeps a payment request applied while it was open; only a draft older than the review is cleared.

  • #1131: each console history entry records the wallet it ran in; recalling one while the console targets another wallet asks once, naming both, before running it there.

  • Also fixed with tests: the save confirmation stays inside the window for a long path; editing a wallet password clears the shown error; failing Activity status reads back off instead of retrying every second; a URI imported behind the send completion page survives Done; an imported PSBT offers signing when only this wallet's inputs are unsigned.

  • #1115: "Complete recipient N before continuing." (translations not regenerated).

  • Latest update, each with a test: a refused Mempool save no longer closes a later save's field; Speed Up no longer fails while the wallet is briefly busy; "use template" waits for a busy request store; receipts are not published after the request history; quitting during a wallet load, and Core messages during a wallet close, no longer wait on a queued operation.

  • Latest update: a popup crash on Qt 6.8.4 (overlay parent), covered by the existing popup case (48/48 crashed before, 0/48 after).

  • Latest update (cross-platform CI and reliability fixes folded into owning commits): avoid Apple libc++ std::function SBO self-move in qml/execution.h / qml/executor.cpp; avoid Qt 6.2 QThread TLS teardown in test/test_uipreferences.cpp; keep local address-note input across async loading publishes (TextEditorModel::hasLocalInput); isolate QSettings and wait for async geometry restore, draft validation, and revision-matched fee estimates in flaky tests; move pre-PR fixes (including Qt 6.4 NavigationSplitView PropertyChanges BINDABLE x LSan leak, Qt 6.2 SendCoinSelection height binding loop, test_payment_import QStringBuilder auto UB, SettingsLanguage Qt 6.4 width, and TransitionsFinished visual-tree traversal) into #1090 and rebase #1096 and #1142 on top.

Follow-ups, not built: per-network proxy editor (#594); backup reminder after encryption (#709); name the replaced transaction on the completion screen (#1071); Custom "6 blocks" label without estimates (#1015).

Changes needed upstream

No Core or Qt code is changed here. Where the app works around a missing Core
guarantee, the workaround is noted below so it can be retired later.

Correctness: the app works around these, but the full guarantee needs Core

  • Coin locks: upgrading a temporary lock to a persistent one writes the database
    row without updating the in-memory flag, so unlock and reload restore the lock
    (Core bug). Core also sends no notification when RPC locks or unlocks coins.
    The app refuses to persist an already locked coin. Blocks #995.
  • Commit receipt: Wallet::commitTransaction returns nothing, so the app cannot
    tell disabled broadcast from a mempool rejection or report the reason. It
    reports the outcome as unknown instead of "sent". Blocks #1008.
  • Signer results: #1122 needs bitcoin/bitcoin#36114; the app rejects substituted
    transactions itself. signBumpTransaction finalizes a signer's PSBT without
    verifying every input; the app verifies before committing. Signer device waits
    hold cs_wallet, blocking wallet RPC (#976), and signer subprocesses cannot be
    cancelled.
  • Wallet lifetime: there is no atomic load subscription, per-opening unload
    receipt or shared closing token (#966), and no scoped unlock lease coordinated
    with RPC relocking.
  • Concurrent writers: labels, receive requests (#972), settings and network state
    have no expected-version writes, so RPC writers can still race the app.
  • Receive types: exact per-type support for imported descriptor wallets needs a
    non-mutating capability query (#1088). The app learns a type is unavailable
    only after Core refuses to generate it, by matching Core's "No %s addresses
    available" message, which a typed error would replace.
  • Change type: the Send preview sizes change as the wallet's default type, while
    Core picks the change type per transaction (a Taproot recipient gets P2TR
    change). Matching it needs a read-only change-type query: the type Core's
    TransactionChangeType would choose for given recipients. Until then the
    preview can under-estimate by the change-output size difference; Review stays
    authoritative (#1104, deferred).

Simplify and share: the app adapter works; a Core interface would remove it and
let other clients reuse it

  • A typed PSBT review result and a typed mempool-acceptance observation (#762,
    #1071).
  • Bounded wallet-history pages with one read generation and typed transaction
    status (#1072).
  • A consistent node status snapshot (#963), structured RPC argument errors (#1131),
    typed signer enumeration, typed restore/migration results, exact fee and
    maximum-send preparation, typed wallet capabilities, wallet-directory
    inspection, a prepared startup configuration
    and side-effect-free settings validation (#1074).

Qt

  • Instrumented Qt 6.10.2 aborts during QML component creation in QV4 / QtPrivate::qustrchr; native QFileDialog construction also races under ThreadSanitizer.
  • Qt 6.4's qHashCombine for QPair<qint64,int> triggers an invalid-shift-base
    report under UBSan; the app uses an ordered map instead.

GUI thread

Backend work stays off the GUI thread. A validation build probed every Core
Node, Chain, Wallet and WalletLoader method and every subscription
handler's disconnect and destructor, and recorded calls on the GUI thread. Across
all integration and functional tests the app made none. The only
main-thread calls were in a headless profile-inspector helper, which has since been
removed. The probe was not rerun after the latest update.

A sampling profile of the GUI thread during the functional tests found the
remaining long stretches are QML creation, destruction and rendering, which must
stay on the GUI thread. Follow-ups, unchanged by this PR:

  • GlobalSettings writes its settings file synchronously when QML calls
    setValue, and builds QSettings objects on every value read.
  • ImageProvider rasterizes SVG icons synchronously (up to 133 ms observed); an
    asynchronous image provider would move this to a worker.
  • Adding a wallet creates all of its views at once (up to 373 ms observed);
    creating pages lazily or with an asynchronous Loader would spread this out.

Validation

Current head e1c089831e8 (stacked on #1096 042d9388dda and #1090 19a75d973e4, rebased onto qt6 db9aa8429ac). Optional developer tooling (coverage instrumentation, focused test runner, QML dev-resources mode) and extra static-analysis gates (qml_api_schema.py, layout_checks.py, test_clang_tidy_selection.py) were split out for a separate follow-up PR.

  • Local validation on e1c089831e8 (post-cleanup, Qt 6.10.2, -Werror, -DENABLE_QML_LINT=ON):
    • Full -Werror build of all targets passed.
    • cmake --build build --target qml_lint passed with 0 warnings/errors across all 253 QML files in both Qt 6.5 and Qt 6.2 compatibility trees.
    • python3 ci/lint.py --scope=app passed cleanly.
    • clang++-21 -Werror syntax/warning sweep (-Wall -Wextra -Wunused-private-field -Wshadow-field) passed across all 147 / 147 test translation units.
    • Full parallel ctest (all 85 / 85 suites: unit, qml, and all 10 integration suites): 3 consecutive rounds passed (255 / 255 suites, 0 failures) on exact final head e1c089831e8 (following the unload-during-model-creation fix in Session::startWith and WalletManager::attachWallet, plus targeted stress runs of scheduleFeeEstimates_invalidatesStalePreviewState 50/50, capturedSecretTransportRefusalDoesNotCallNativeLoader 20/20, reconciliationBatchesActivityRebuilds 20/20, and receive.enabled.deletingARequestLeavesTheSameIdInAnotherWallet 5/5).
    • GitHub CI on e1c089831e8: 14 / 14 passed (Ubuntu 22.04, Qt 6.2, Ubuntu 24.04, Qt 6.4, Ubuntu 26.04, Qt 6.10, app lint (Core rules), core lint (Core rules), Clang-tidy (Core rules), all three Address, leak, undefined and integer sanitizers shards, linux-x86_64, macos-native, build (ubuntu-24.04), build (macos-15), and qml-functional-tests).
  • Prior GitHub CI run on pre-cleanup tree 13088febc8c: 14 / 14 passed (and #1090: 8 / 8 passed; #1096: 12 / 12 passed):
    • Build and Test: Ubuntu 22.04, Qt 6.2, Ubuntu 24.04, Qt 6.4, Ubuntu 26.04, Qt 6.10 (qml_lint), app lint (Core rules), core lint (Core rules), Clang-tidy (Core rules), and all three Address, leak, undefined and integer sanitizers shards (base including interface_qml_startup.py, interface_qml_shutdown.py, and interface_qml_backend_guarantees.py; integration 1/2; and integration 2/2). Leak detection is disabled for QML component tests in CI.
    • Depends Build: linux-x86_64, macos-native.
    • Artifacts: ubuntu-24.04, macos-15, windows-2022.
    • GUI Functional Tests.
  • Earlier full-matrix local runs (pre-rebase / pre-CI-fix trees 63d5024d474 and 97a21cf9cba):
    • ASan/UBSan (limited to 3 CPUs): unit and integration 23/23 in three rounds; settings/modal stress runs 48/48–96/96.
    • Qt 6.2 (89/89 twice), Qt 6.4 (89/89 twice), Qt 6.8.4 static depends (89/89 three times), Qt 6.10 (unit 12/12, other 69/69, integration 10/10, all 81 functional scenarios).
    • TSan (instrumented Qt 6.10.2): 17 of 18 unit classes clean; the remaining class reported one race in capturedSecretSurvivesQueueDelayAndQuietClose; GUI/integration launches hit a Qt-internal use-after-free (QV4 / QtPrivate::qustrchr), and with halt off four integration cases passed with no data race.

Not checked: interface_gui.py; manual interactive verification in a native macOS window for macOS-specific UX/accessibility issues (#1066, #1068, #1076, #1116, #1119, #1126 minimized, and #1139 with a real Return key).

This moves the QML frontend's wallet, send, PSBT, Activity, Receive, settings, startup, console and peer logic out of the monolithic controllers into owned, revisioned models that do their work off the GUI thread. The QML adopts the upstream design system from #1052 (see the [interactive object model and shutdown lifecycle walkthrough](https://johnny9.dev/gui-qml-object-model/) and [design notes](https://github.com/johnny9/gui-qml-object-model)). Each row in the Fixed table names tests that passed in the final validation (see Validation for which runs used the exact final tree). ## Depends on #1090 and #1096 This PR is based on two open PRs. Their commits come first, in this order (rebased onto `qt6` `db9aa8429ac`): - #1090 Move detailed QML functional coverage into integration tests (39 commits, `19a75d973e4`) - #1096 qml: enforce QML lint and Core validation in CI (9 commits, based on #1090, `042d9388dda`) This PR supersedes #1109: `qml/backendexecutor.{cpp,h}` is replaced by `qml/executor.{cpp,h}`, and #1109's task-outcome, cancellation, and drain test cases are carried forward in `test/test_backendexecutor.cpp` (credited via `Co-authored-by` in `3f9feaeea8f`). Review only the 31 commits after those 48 dependency commits (listed below). Once the dependencies merge, this PR drops their commits. #1090 was rebased onto `qt6` after #1052 (design system). Each conflict resolution follows #1052's renamed controls and keeps its test setup; #1052's startup-error functional case, in a file #1090 deletes, is kept as a scenario in `interface_qml_startup.py`. Testing the rebased #1090 found further interactions with #1052; they are fixed in the commit that introduced each test, or in three new commits at its end. #1096 adds the QML lint gate and the app's Core lint, clang-tidy and sanitizer entry points; this PR's checks run through them. Rebased, its first commit also makes #1052's QML pass the gate: typed `ApplicationModels` access, imports #1052's rewrites need, and #1096's extracted components rebuilt from #1052's restyled code. It now builds on #1090: its lint fixes to tests #1090 deletes are dropped, and it covers #1090's code. The #1090 rebase conflicts and the failures fixed after it are in this description's edit history (removed for length). ## Architecture The QML front end follows `doc/architecture.md` and the [GUI QML Object Model](https://johnny9.dev/gui-qml-object-model/) ([source & design notes](https://github.com/johnny9/gui-qml-object-model)): models hold data, controllers hold one use case's state and actions, each operation reports its own outcome, and QML binds to state and calls one action per user event. QML passes back no request ids, tickets, or revisions and holds no operation it started. - App controllers: `WalletController`, `WalletCreationController`, `WalletNamesController`, and `DesktopTrayIconController`. - Page controllers: `SendDraftController`, `SendImportController`, `TransactionReviewController`, `FeeBumpController`, `PaymentRequestViewController`, `PaymentRequestDeleteController`, `ActivityDetailController`, `PeerCommandController`, `SettingsNavigationController`, `WalletPasswordController`, and `WalletBackupController`. - One shared `execution::Executor` provides the `Core`, `Priority`, `Rpc`, and `Utility` lanes. Utility has separate IO, signer and cleanup workers: settings writes run on Priority, UI preferences on Utility, and native wallet release on cleanup. Node lifecycle and the Qt payment-link listener retain their dedicated threads. - Quit keeps the existing shutdown page visible while Qt processes events, drains accepted work, joins feature-owned threads and the shared executor, and finally destroys native interfaces off the GUI thread. ## Commits After the 48 dependency commits (#1090, #1096), this PR has **31 commits** organized in two parts: ### Part 1 — Foundation, defect fixes, area refactors and build/naming cleanup (15 commits) Follow-up fixes, test-only additions, dead-code removal, and `closeAdmission()` → `close()` are folded into their owning commits. Files used by several areas belong to the area that owns them, so the area commits do not build one by one; the series is validated as a whole at the final commit. | Commit | Area | Notes | | --- | --- | --- | | 3f9feaeea8f | qml: add execution, backend guarantees and test infrastructure | Foundation (supersedes #1109) | | eb215cd157c | qml: reject substituted external signer transactions | Defect fix | | 20c2851bbed | qml: authenticate PSBT fee inputs before review and broadcast | Defect fix | | d7d8c2919e4 | qml: confirm the final backup destination before writing | Defect fix | | 38609d1313e | qml: stop retaining RPC console secrets | Defect fix | | 6b02a94157b | qml: parse localized amounts exactly | Defect fix | | 1af84d1e191 | qml: extract wallet opening, catalog, creation, restore and signer discovery | Area refactor | | 4f980d9e2ae | qml: extract the Send draft, fee selection, coin selection and submission | Area refactor | | ec60d10f917 | qml: extract PSBT analysis, signing, signer approval and fee replacement | Area refactor | | e1d473b4c1e | qml: extract payment and PSBT import | Area refactor | | 1f8225cb995 | qml: extract Activity, receive requests, labels and receipt reconciliation | Area refactor | | eaffaa20620 | qml: migrate settings, onboarding, startup and node lifecycle | Area refactor | | 60c02c01a02 | qml: extract navigation, console, logs, peers and native intents | Area refactor (monolith removals folded in) | | a0d3735e9cc | build: drop the Core Qt Widgets implementation from the app and tests | Build cleanup | | b4144df52b2 | refactor: apply approved QML type, model, controller and backend names | Naming and cleanup | ### Part 2 — Standalone issue fixes on the final approved names (16 commits) Each commit targets one open issue that the refactor did not cover and pairs the fix with its regression test (except where noted): - c3653522d75 qml: stop offering receive types Core refuses to generate (Addresses #1088) - 111c2c970c0 qml: start Receive from an explicit -addresstype (Fixes #1137) - 1ec57d4941d qml: accept a custom fee rate with an empty whole part (Fixes #1130) - 1f6f0f6faa8 qml: save a new transaction as a version 0 PSBT (Fixes #1112) - 4983adcb0d5 qml: make Return cancel irreversible confirmations (Fixes #1139) - 2d35fafc203 qml: drop a focused settings edit when the app quits (Fixes #1114) - 37695c901cb qml: warn about pruning in the Close wallet question (Fixes #1127) - 0532559ac62 qml: bring the window into view when a quit starts (Fixes #1126) - 6afb4b60b52 qml: keep the Activity list where the user left it on a confirmation (Fixes #1120) - a372b92f97e qml: build Activity calendar days at local noon (Fixes #1128) - 1510f0323b6 qml: show a receiving address's label on payments it receives (Fixes #1135) - f29ee4b0a28 qml: offer CJDNS and local-network choices in the Peers filter (Fixes #1113) - 840861a87cf test: pin that wallet notifications update coin and address rows in place (Refs #1119; guard tests, see Addressed) - 91c4d6d70d8 qml: give a dialog the keyboard as soon as it is shown (Fixes #1134) - b50879a359c qml: start every wallet password prompt masked (Fixes #1133) - e1c089831e8 qml: drop pasted line endings from a new wallet passphrase (Fixes #1132) ## Issues ### Fixed (63; verified by a named test) | Issue | Title | Test | Commit | | --- | --- | --- | --- | | #737 | Watch only wallets can leave a wallet on disk if adding xpub fails | `WalletQmlControllerTests::createWatchOnlyCleansUpWhenDescriptorImportFails`; `watchonly.enabled.failedXpubImportReportsTheBlankWalletLeftOnDisk` | 1af84d1e191 | | #759 | Support Imported PSBTs Whose Displayable Outputs Are All Wallet-Owned | `PsbtWorkTests::ownedOutputReviewDoesNotDependOnSigning` | ec60d10f917 | | #846 | bitcoin-core-app: Assert hit when using a relative datadir path | functional `interface_qml_startup.py`: `startup-failure-missing-datadir`, `startup-failure-missing-relative-datadir`, `existing-relative-datadir` | eaffaa20620 | | #947 | Import wallet error on already imported wallet | `wallet.enabled.restoreRejectsInvalidAndDuplicateBackupsWithoutFilenameClassification`; `wallet.enabled.importingABackupOfALoadedWalletExplainsTheExistingWallet` | 1af84d1e191 | | #997 | Custom fee input can overflow and use a different rate | `FeeSelectionTests::exactRateTransport` | 4f980d9e2ae | | #1000 | Send: Leaving an untouched amount field can cancel Use maximum | `send.enabled.leavingAnUntouchedAmountFieldKeepsMaximum (click-away and tab-away)`; `send.enabled.refreshedMaximumSurvivesLeavingTheFocusedAmountField` | 4f980d9e2ae | | #1001 | Send: Empty Manual coin selection still chooses inputs automatically | `send.enabled.emptyManualSelectionCannotBroadenToWalletInputs`; `send.enabled.emptyManualChoiceShowsNoInputsAndCannotReview` | 4f980d9e2ae | | #1004 | Wallet picker: An unnamed wallet supported by Core cannot be opened | `wallet.enabled.unnamedWalletOpensClosesAndReopensFromThePicker`; `wallet.enabled.unnamedWalletPresentAtStartupIsNamedAndOpensFromThePicker` | 1af84d1e191 | | #1015 | When fee estimation is unavailable, the custom fee picker needs to make it clear | `SendCreate::test_equal_fee_rates_preserve_actual_provenance`; `WalletQmlModelTests::coreFallbackFeeReachesPresetsAndReview`; `send.enabled.presetsAndCustomRateMakeNoBlockTargetPromise` | 4f980d9e2ae | | #1042 | Receive: Request still says “Payment received” after its payment is cancelled | `receive.enabled.originalReorgRepaintsTheOpenRequestFromActualCurrentCredit`; `receive.enabled.replacementPayingElsewhereReturnsTheOpenRequestToAwaitingPayment` | 1f8225cb995 | | #1047 | Watch-only send: review offers an unusable Send action after #935 | `watchonly.enabled.createFromXpubAndPrepareUnsignedTransaction` | ec60d10f917 | | #1063 | Import PSBT trusts an incorrect fee from Core’s PSBT analysis for review and broadcast | `psbt.enabled.authenticatedLegacyFeeReview` | 20c2851bbed | | #1064 | Receive crashes the application when dynamic settings are disabled with `-nosettings` | `receive.enabled.addressPreferenceWriteReportsDisabledSettings` | 1f8225cb995 | | #1065 | Proxy settings: closing or resetting the page silently discards unsaved changes | `SettingsNavigation::test_doneAsksBeforeDiscardingAProxyDraft`; `settings.enabled.reselectingConnectionKeepsTheProxyDraft` | eaffaa20620 | | #1067 | Send: an old Paste confirmation can overwrite a newer payment request | `PaymentImportTests::changedTargetRetiresOldReplacementAndRequiresFreshConsent`; `payment-import.enabled.openUriWhileConfirmPasteIsOpen` | e1d473b4c1e | | #1069 | Sign message keeps the incorrect-password error after Cancel | `receive.enabled.cancelledMessageAuthorizationClearsItsErrorAndRetainsEarlierSignature` | 1f8225cb995 | | #1070 | Import PSBT accepts structurally invalid transactions into review and signing | `PsbtWorkTests::outputTotalsBeyondMaxMoneyNeverReachReview`; `psbt.enabled.structurallyInvalidImportNeverReachesSigningOrCommit` | ec60d10f917 | | #1071 | Import PSBT shows “Ready to broadcast” without accounting for transaction identity or current node state | `psbt.enabled.nodeReadinessAndIndependentSpend (nonfinal-locktime and below-advertised-relay-fee rows)`; `psbt.enabled.nodeReadinessAndIndependentSpend:mempool-replacement-accepted`; `psbt.enabled.broadcastSignedPsbtIsKnownByItsFinalizedIdentity`; `PsbtFeeTests::finalizedTransactionAdmissionUsesExactPublicNodeRpc` (eviction-lookup-exception-is-disclosed, malformed-eviction-lookup-is-disclosed) | ec60d10f917 | | #1073 | Settings migration and reset can destroy the recoverable copy of the configuration | `OptionsModelTests::capturedResetKeepsOriginalBackupAcrossCompletion`; `OptionsModelTests::failedOnboardingWriteKeepsLegacyProxyForRetry` | eaffaa20620 | | #1075 | Storage settings change pruning values after toggling and misrepresent manual pruning | `PruneDraftTests` (whole class); `settings.enabled.configuredPruneTargetSurvivesToggleAndRestartNotice`; `settings.enabled.manualPruneIsShownAndTurnsOffOnlyAfterTheRebuildWarning` | eaffaa20620 | | #1077 | Send: Use maximum hides preparation errors and leaves an unusable amount | `SendCreate::test_failed_maximum_exposes_original_cause_and_refresh`; `send.enabled.oversizedMaximumPreservesCoreCauseAndRecoversWithFewerCoins`; `WalletQmlModelTests::coreApiFeePreviews:maximum-fallback-disabled-custom-recovery` | 4f980d9e2ae | | #1078 | RPC console: passphrase and HD private-key arguments remain visible in requests and history | `console.*.secretRequestsStayRedactedAfterClear` | 38609d1313e | | #1081 | Receive/Send: decimal-comma input can change 0,02 BTC into 2 BTC | `send.enabled.localizedTypedSendPreparesExactOutput`; `receive.enabled.localizedTypedRequestPersistsExactAmount` (14 rows in total) | 6b02a94157b | | #1082 | Back up wallet: appending .bak after Save can overwrite a different file without confirmation | `wallet.enabled.backupRefusalPreservesSelectedAndFinalFiles` | d7d8c2919e4 | | #1083 | Receive: Undo can restore another payment request’s amount | `TypedReceive::test_new_editor_does_not_inherit_the_previous_native_undo_context`; `TypedReceive::test_blank_amount_edit_cannot_be_undone_into_the_next_blank_request`; `receive.enabled.activityRequestUndoStaysWithTheOpenedRequest` | 1f8225cb995 | | #1085 | Saving a payment request can clear another wallet’s reserved receiving address | `WalletReservationTests::persistedReservationsKeepExactWalletIdentity` | 1af84d1e191 | | #1086 | Reselecting the checked Custom fee option overwrites the entered rate | `send.enabled.reselectingCustomPreservesTheReviewedExplicitRate` | 4f980d9e2ae | | #1087 | Send ignores an enabled avoid_reuse wallet policy | `send.enabled.avoidReusePolicyFiltersDirtyOnlyBalance`; `send.enabled.avoidReusePolicyGovernsMaximumBadgeAndPreparedInputs` | 4f980d9e2ae | | #1089 | Returning Enable listening to its saved value can disable listening after restart | `OptionsModelTests::coreSettingsSessionRevertingToDefaultPersistsExplicitOverride`; `settings.enabled.returningBooleanSettingToDefaultOverConfigPersistsExplicitOverride` | eaffaa20620 | | #1091 | Sign and Verify replace non-breaking spaces in the message | `receive.enabled.publishedNbspSignatureVerifiesThroughTheNativeEditor`; `receive.enabled.pastedNbspMessageKeepsExactBytesForVerifyAndSign` | 1f8225cb995 | | #1093 | Proxy Save can leave a partial Default/Tor configuration after a write failure | `settings.*.savingProxyDraftCommitsBothEntries`; `settings.enabled.proxySaveWriteFailureKeepsBothEditsAndPersistsNothing` | eaffaa20620 | | #1094 | Receive: creating a request from Address details silently discards an existing draft | `receive.enabled.createRequestFromAddressDetailsAsksBeforeReplacingADraft (keep-editing and discard)` | 1f8225cb995 | | #1095 | Activity: amount filter excludes request amounts and drifts after wallet updates | `ActivityList::test_open_amount_range_keeps_committed_values_when_history_maximum_changes`; `activity.enabled.requestAmountsAboveTransactionsStayReachableUnderThePaymentRequestFilter`; `activity.enabled.coinAmountRangeKeepsTheDraggedMaximumWhenALargerCoinArrives` | 1f8225cb995 | | #1098 | Send review labels an uppercase wallet-owned recipient as change | `send.enabled.uppercaseBech32RecipientRemainsRecipientOutput` | 4f980d9e2ae | | #1099 | Activity: Today keeps yesterday's entries after midnight | `ActivityFilterProxyModelTests::relativeDateRefreshUsesManualClockAndRejectsYesterdayBeforePublish`; `ActivityFilterProxyModelTests::automaticDateTimerMovesTodayPastMidnightWithoutAnotherEdit` | 1f8225cb995 | | #1100 | A Core initialization failure exits the app with status 0 | functional `interface_qml_preinit_onboarding.py` (asserts exit status 1 on an initialization failure) | eaffaa20620 | | #1101 | Wallet picker shows one wallet twice when its name ends in / | `wallet.enabled.rpcTrailingSeparatorHasOneCanonicalCatalogIdentity`; `wallet.enabled.trailingSeparatorStartupWalletIsOneOpenRowAndCreationRejectsIt` | 1af84d1e191 | | #1102 | Send hides Use payment request after importing a different invoice message | `payment-import.enabled.clipboardOfferComparesPublicMessageIndependentlyOfPrivateNote` | e1d473b4c1e | | #1103 | Activity grouping changes after reopening a wallet despite an explicit selection | `ActivityList::test_two_live_grouping_views_and_reopen_keep_the_last_explicit_choice` | 1f8225cb995 | | #1105 | Peers search does not accept the displayed #ID | `PeerListModelTests::displayedPeerIdSearchPreservesOrdinaryText` | 60c02c01a02 | | #1106 | Send-all and Speed Up confirmations can ignore the selected display unit | `SendCreate::test_sweep_alerts_follow_the_current_amount_unit`; `fee-bump.enabled.speedUpFeesFollowTheGlobalDisplayUnit`; `send.enabled.sendAllReviewFollowsAGlobalDisplayUnitChange` | ec60d10f917 | | #1107 | Activity search misses the spaced address shown in Send Review | `activity.enabled.sharedSendReviewAddressFormattingFindsTheOriginalActivityAndCsv` | 1f8225cb995 | | #1108 | Activity can hide an entire custom date range when the following local date was skipped | `ActivityFilterProxyModelTests::skippedCivilDayDoesNotExcludeValidInclusiveEnd` | 1f8225cb995 | | #1112 | Save transaction writes a version 2 PSBT that Bitcoin Core 31 cannot read | `PsbtWorkTests::exportReviewOwnsOriginalDocument`; `send.enabled.preparedReviewAndExportRemainStableWhenMoreFundsArrive` (both check version 0; imported PSBTs keep their version) | 1f6f0f6faa8 | | #1113 | Peers network filter has no choice for local, LAN or CJDNS peers, so any selection hides them | `UiPreferencesTests::localAndCjdnsPeersHaveANetworkChoice`; `PeerListModelTests::networkFilterMatchesCjdnsAndLocalPeers` (CJDNS and Local network choices) | f29ee4b0a28 | | #1114 | Settings: a focused number field is saved during quit, after shutdown has started, with no confirmation or error | `settings.*.quitDropsAnUnsavedNumberSettingDraft`; `settings.*.quitDropsAFocusedTextSettingEdit` (an unconfirmed edit is discarded at quit) | 2d35fafc203 | | #1115 | Send: moving Use maximum to a second recipient leaves the first with the old maximum and blocks Review | `send.enabled.maximumHandoverClearsTheFormerRecipient`; `send.enabled.maximumHandoverNamesTheRecipientNeedingAttention` | 4f980d9e2ae | | #1118 | File menu commands still run behind the open Add wallet wizard | `navigation.*.nativeFileRouteCannotNavigateBehindTheOwnedWalletModal`; `navigation.enabled.nativeWalletCommandsCannotRunBehindTheAddWalletWizard` | 60c02c01a02 | | #1120 | Activity: what should the list do when a pending transaction confirms? It currently jumps away from the newest rows | `activity.enabled.listAtTheTopStaysAtTheTopWhenAConfirmationArrives`; `activity.enabled.scrolledListStaysWhereTheUserLeftItWhenAConfirmationArrives` (the list stays where the user left it) | 6afb4b60b52 | | #1121 | Send: importing a payment request for the same amount leaves Use maximum active | `payment-import.enabled.equalImportedAmountReplacesMaximumIntentWithoutChangingTheRequest` | 4f980d9e2ae | | #1126 | Quit while the window is hidden or minimized shows nothing: the only shutdown notice is pushed into the window that stays hidden | `lifecycle.*.quitWhileHiddenOrMinimizedShowsTheShutdownPage` (the window is shown and raised; the minimized row cannot stay minimized offscreen, so it needs a macOS check) | 0532559ac62 | | #1127 | "Close wallet" says nothing about pruning: a wallet left closed on a pruned node can later not be opened without re-downloading the chain | `DesktopWallets::test_close_prompt_warns_about_pruning_only_on_a_pruned_node` (warns only when the node is pruned) | 37695c901cb | | #1128 | Activity date-range calendar has no cell for the day daylight saving starts at local midnight | `ActivityList::test_calendar_draws_every_day_of_every_month_once`, also run as CTest `bitcoinqml_calendar_midnight_dst` with `TZ=Africa/Cairo` | a372b92f97e | | #1130 | Send: the Custom fee-rate field drops a leading period and keeps the digits, so `.5` is sent as 5 sat/vB | `FeeSelectionTests::exactRateTransport` (leading-period rows); `send.enabled.customRateTypedWithLeadingPeriodKeepsItsValue` | 1ec57d4941d | | #1131 | RPC console: a wallet loaded from outside the picker becomes the console's target, and a command already typed runs in it | `RpcConsoleModelTests::explicitTargetsReplaceAmbiguousConsoleIngress`; `console.enabled.externallyLoadedWalletDoesNotRetargetTheConsole`; `RpcConsoleModelTests::historyRecallIsRefusedOnceWhenTheWalletTargetChanged`; `console.enabled.recalledCommandAsksBeforeRunningInAnotherWallet` | 60c02c01a02 | | #1132 | A passphrase pasted with a trailing line ending is kept byte for byte, so the wallet is encrypted with a character the user cannot see or type | `FormControls::test_passwordTextFieldDropsPastedLineEndingsOnlyForANewPassphrase`; `WalletCreationFlow::test_create_form_drops_pasted_line_endings_from_the_passphrase`; `WalletPasswordSettings::test_update_password_drops_pasted_line_endings_only_from_the_new_passphrase`; `WalletPassphrasePopup::test_unlock_prompt_keeps_a_pasted_line_ending` (only new-passphrase fields drop them) | e1c089831e8 | | #1133 | Wallet password prompt: after "show password" is used once, every later opening starts in clear text | `WalletPassphrasePopup::test_reopen_starts_masked_after_a_reveal` | b50879a359c | | #1134 | The wallet password prompt takes the keyboard only after its 300 ms fade-in, so an early key goes into the field behind it | `WalletPassphrasePopup::test_keys_typed_during_the_fade_in_reach_the_passphrase_field` | 91c4d6d70d8 | | #1135 | Activity: a receiving address's label is not shown on incoming payments unless a payment request exists for the address | `TransactionActivityModelTests::usesPrivateRequestNotesWithoutChangingStoredData`; `TransactionActivityModelTests::queuesWalletNotificationsAndRetainsStableIndexes` (payments fall back to the address label) | 1510f0323b6 | | #1136 | An open transaction page keeps the old "Show in …" links after the third-party transaction URL setting is changed or cleared | `AsyncOptionsTests::manualTransactionLinksFollowTheSettingWhileAViewIsOpen`; `TransactionDetail::test_thirdPartyTransactionLinks_follow_the_setting_while_the_page_is_open` | 60c02c01a02 | | #1137 | Receive does not start from the node's -addresstype | `receive.enabled.receiveStartsFromTheConfiguredAddressType` (legacy, bech32, p2sh-segwit and unset rows: a saved choice, then an explicit `-addresstype`, then Taproot) | 111c2c970c0 | | #1138 | A Core message that waits for an answer is not brought into view when the window is hidden or minimized, and the node waits behind it | `node.*.runtimeQuestionMakesTheHiddenNativeWindowReachable`; `node.enabled.runtimeQuestionRestoresTheMinimizedNativeWindow` | eaffaa20620 | | #1139 | One Return key press confirms "Send all funds": since #1052 alerts answer Return with their only Normal action, including irreversible ones | `SendCreate::test_review_sweep_return_key_keeps_the_review_and_sends_nothing`; `DesktopWallets::test_return_key_in_the_update_prompt_does_not_confirm_it`; `WalletCreationFlow::test_return_key_in_the_unencrypted_warning_does_not_create_the_wallet`; `DesktopWallets::test_return_key_in_the_close_prompt_keeps_the_wallet_open` | 4983adcb0d5 | ### Addressed (19; partly verified, stay open) | Issue | Title | Verified | Not verified | | --- | --- | --- | --- | | #594 | Proxy settings: add advanced Qt proxy parity | `EffectiveSettingsTests::unsupportedProxyListsStayVisibleAndCannotBeErased`; `EffectiveSettingsTests::perNetworkProxySurvivesEveryEditorPath`; `SettingsPreservationTests::setupKeepsPerNetworkProxyFromConfiguration`; `settings.enabled.configuredPerNetworkProxySurvivesSettingsEdits` | feature request: per-network proxy entries are preserved and shown read-only (setup now matches Settings), but cannot be edited; an editor is a follow-up | | #709 | Add backup reminder after encrypting a wallet from settings | `WalletPasswordSettings::test_set_password_explains_older_backup_coverage`; `wallet.enabled.settingsSetPasswordExplainsChangedBackupCoverage` | the changed-backup-coverage explanation is tested end to end; a separate backup reminder after encryption is a follow-up | | #762 | Introduce imported PSBT session state separate from send draft state | `PsbtFeeTests::finalizedTransactionAdmissionUsesExactPublicNodeRpc`; `psbt.enabled.importedPsbtExportChangesOnlyWhenSigned`; `psbt.enabled.closingAnImportedReviewKeepsANewerPaymentRequestDraft` | a fully wallet-owned imported PSBT still commits through the wallet, by design; the issue asks for wallet commit only for wallet-originated drafts | | #963 | Node information: display cached data and refresh asynchronously | `node.*.invalidatedHeaderReadbackMatchesCore`; `NodeModelTests::informationRowsReopenFromCacheWhileStatusReadIsHeld` | no test matched individually to the empty-result, backend-error, newer-notification and shutdown cases, or to the repeat during initial block download | | #966 | Keep wallet discovery, preflight and close off the GUI thread | `wallet.enabled.rpcLoadRacingPickerOpenKeepsTheGuiIntentAndSelection`; `wallet.enabled.stalledWalletDirectoryReadsKeepTheGuiResponsive`; `wallet.enabled.closingWhileCoreHoldsTheWalletRegistryKeepsTheGuiResponsive` | no test matched individually to every listed case (stale name checks, missing files, duplicate initialization); an atomic load subscription and per-opening unload receipt need Core | | #972 | Receive Bitcoin: move address creation, request persistence and payment reconciliation off the GUI thread | `receive.enabled.typedReceiveRejectsOversizeQrAndRecoversWithoutBlankExport`; `receive.enabled.receiveWorkWaitsForABusyWalletOffTheGuiThread`; `receive.enabled.concurrentReceiveDefaultsStayPerWallet`; `receive.enabled.deletingARequestLeavesTheSameIdInAnotherWallet` | no test matched individually to every listed case (large histories, A→B→A switching, late completion after unload); labels and requests have no expected-version writes in Core | | #974 | Fee selection and coin control: move remaining queries and writes off the GUI thread | `WalletTransactionTests::selectedSpentMissingAndBadIndexNeverReachConstruction`; `send.enabled.viewCoinsDropsTheMarkOfASpentCoin`; `send.enabled.temporaryReorgAbsenceKeepsTheManualSelection`; `send.enabled.displayUnitChangeDoesNotRefreshTheCoinList`; `send.enabled.staleCoinContextActionCannotPersistATemporaryLock` | blocked queries and writes, label-scan cost, hidden-view scheduling and stale fee previews are not turned into end-to-end criteria (unit tests cover coin reads and lock writes off the GUI thread) | | #975 | Keep PSBT import, review, signing and export off the GUI thread | `SendCreate::test_psbt_save_error_remains_visible_in_review`; `psbt.enabled.psbtImportSigningAndBroadcastStayOffTheGuiThread` | no test matched individually to slow file storage, multisig, or every stale-import and close-during-work case | | #976 | Keep fee replacement preparation, signing and commit off the GUI thread | `BumpTransactionModelTests::confirmFeeBump_rechecksEligibility`; `psbt.enabled.feeBumpPreparationAndCommitStayOffTheGuiThread` | no test matched individually to every listed case (changed targets, repeated confirmation, mined or replaced originals); signer waits still hold `cs_wallet` in Core | | #977 | Keep external signer discovery and approval responsive | `watchonly.enabled.heldSignerProcessDoesNotBlockTheWalletPicker`; `fee-bump.enabled.failingExternalSignerEndsSpeedUpWithARetryableFailure`; `SignerDiscoveryTests::timeoutDoesNotCancelOrStartAnotherProcess` | hung-helper, cancellation and shutdown behavior during approval is not tested end to end; a signer subprocess cannot be cancelled (needs Core) | | #1008 | Send reports success when the transaction is rejected by the local mempool | `receive.enabled.sendOutcomeReportsObservationOrRejectsStaleReview:broadcast-disabled`; `send.enabled.localMempoolRejectionIsNeverReportedAsSent` | a rejection at commit after `testmempoolaccept` passed cannot be produced deterministically; reporting it needs a typed commit receipt from Core | | #1066 | macOS: overlapping PSBT dialogs leave keyboard input blocked | `QmlFileDialogTests::chooserAdmissionRejectsOverlapAndReentry`; `QmlFileDialogTests::cancellingTheVisibleChooserReleasesModalityAndAdmission` | macOS native-panel modality and focus restore are not testable on Linux | | #1072 | Activity double-counts incoming replacements and misclassifies pending transactions | `TransactionActivityModelTests::pendingTotalTracksReplacementRoleChangesWithoutCountChanges`; `activity.enabled.reorgReturnedOriginalIsTheOnlyPendingVersionNotItsEvictedReplacement`; `activity.enabled.incomingReplacementIsTheOnlyPendingPayment`; `activity.enabled.expiredPaymentLeavesPendingWithoutABlock` | no test for a backup restored before the node catches up | | #1074 | Connection settings can save overrides that prevent the next startup | `EffectiveSettingsTests::startupConstraintFamilies`; `EffectiveSettingsTests::unresolvableProxyHostCannotBeSavedForTheNextStart` | with DNS on, a host that fails only at the next start is recovered by reopening setup; covered for `-proxy` by a functional test, not for `-onion` | | #1084 | Wallet refreshes save unfinished address labels and reset list position | `receive.enabled.labelCommitPreservesTheNextRowsFocusedEditor`; `activity.enabled.addressListKeepsItsScrollPositionAcrossRefreshes`; `activity.enabled.coinListsKeepTheirScrollPositionAcrossRefreshes` | no test for the reported sequence: a payment to another address while a label edit is unfinished | | #1088 | Receive offers unsupported address types and can default to an unusable one | `receive.enabled.receiveOffersOnlyTypesTheActiveDescriptorsCanGenerate`: legacy-, segwit-, p2sh-segwit- and taproot-only wallets get an address of their type on the first attempt; a type Core refuses is no longer offered, and choosing it reports that the wallet cannot generate it | types not yet tried stay listed until one is refused; removing them up front needs a Core per-type capability query (`QEXPECT_FAIL` in the test) | | #1104 | Send fee preview uses a different change-output type from transaction preparation | `send.enabled.feePreviewLimitationKeepsCoreReviewAuthoritative`: Review and the PSBT use Core's fee; the gap is pinned by `taproot-preview-deferral` (1530 vs 1650 sat) | deferred: the preview still sizes change as the wallet's default type; matching Core's choice needs a Core change-type query | | #1117 | Import PSBT: the wallet's own change is listed as a recipient and added to the total when the wallet cannot send | `PsbtWorkTests::ownedOutputReviewDoesNotDependOnSigning`; `psbt.enabled.ownOutputsArePresentedTheSameWithoutSigningKeys` | own outputs no longer depend on signing ability, but stay listed as outputs by design | | #1119 | macOS: wallet notifications arriving close together can crash the app once the Addresses or View coins page has been opened | `CoinsListModelTests::backToBackRefreshesUpdateRowsInPlaceWithoutResettingTheModel`; `AddressListModelTests::backToBackRefreshesUpdateRowsInPlaceWithoutResettingTheModel`: back-to-back refreshes update rows in place, with no model reset | the crash is in macOS accessibility during a refresh and does not reproduce on Linux; needs a check in a native macOS window | ### Related but not claimed - #618 Wallet open: show load progress, warnings, and errors from wallet selection: already closed - #993 Reset transaction review when it reopens: open: closing the completion page clears a URI imported behind it - #995 wallet: RPC coin locking leaves coin status and available balance stale: needs Core: lock-change notification and the lock-persistence fix - #1026 PSBT Save silently writes nothing after a wallet change: already closed; a related fix here retires the backup Save chooser with its wallet - #1068 macOS: PSBT chooser can leave Open disabled for a selected valid file: macOS-specific; no test - #1076 macOS: QML ignores Bitcoin-Qt’s saved custom data directory: macOS-only - #1097 Send review labels the package fee target as the transaction's fee rate: open: the review still shows the requested package target under Fee rate - #1116 Quitting or unloading a wallet while an Activity list is still applying a wallet change crashes the app with SIGSEGV: the Activity commit detaches a hidden list's model, as the issue suggests, but the crash does not reproduce on Linux even without that, so there is no test; needs a macOS check - #1122 External signer: pick up bitcoin/bitcoin#36114 and update the signer test: issue asks to adopt bitcoin/bitcoin#36114; app-side substitution checks only address it - #1125 "Update wallet" on a legacy wallet says nothing about what Core did: open: deferred - #1129 Receive reserves an address when its tab is shown: open: deferred; reserving at Create instead needs a rework of the Receive flow ## Production fixes made while adding regression tests Each is in its issue's commit, beside the test that failed without it. - **#1072 (broad, review closely):** Activity takes "pending" from Core's mempool membership, not the replacement marker. A reorged-back original showed as Replaced and its evicted replacement as pending. Touches `activityreader`, `transactionactivitymodel`, `walletpayments`, CSV export and Activity QML ("Not in mempool"). - **#977:** a signer failure during Speed Up was stuck in Uncertain; now a retryable Sign failure (`walletbump.cpp`). - **#974:** View coins kept marks of spent coins; a unit change rebuilt every coin list. - **#594:** setup offered a per-network proxy as editable and then refused Start; now read-only, as in Settings. - **#1071:** an accepted replacement names the transaction it evicts; if that lookup fails, the review says so instead of implying nothing is evicted. - **#762:** closing an imported review keeps a payment request applied while it was open; only a draft older than the review is cleared. - **#1131:** each console history entry records the wallet it ran in; recalling one while the console targets another wallet asks once, naming both, before running it there. - Also fixed with tests: the save confirmation stays inside the window for a long path; editing a wallet password clears the shown error; failing Activity status reads back off instead of retrying every second; a URI imported behind the send completion page survives Done; an imported PSBT offers signing when only this wallet's inputs are unsigned. - **#1115:** "Complete recipient N before continuing." (translations not regenerated). - Latest update, each with a test: a refused Mempool save no longer closes a later save's field; Speed Up no longer fails while the wallet is briefly busy; "use template" waits for a busy request store; receipts are not published after the request history; quitting during a wallet load, and Core messages during a wallet close, no longer wait on a queued operation. - Latest update: a popup crash on Qt 6.8.4 (overlay parent), covered by the existing popup case (48/48 crashed before, 0/48 after). - Latest update (cross-platform CI and reliability fixes folded into owning commits): avoid Apple `libc++` `std::function` SBO self-move in `qml/execution.h` / `qml/executor.cpp`; avoid Qt 6.2 `QThread` TLS teardown in `test/test_uipreferences.cpp`; keep local address-note input across async loading publishes (`TextEditorModel::hasLocalInput`); isolate `QSettings` and wait for async geometry restore, draft validation, and revision-matched fee estimates in flaky tests; move pre-PR fixes (including Qt 6.4 `NavigationSplitView` `PropertyChanges` `BINDABLE` `x` LSan leak, Qt 6.2 `SendCoinSelection` height binding loop, `test_payment_import` `QStringBuilder` `auto` UB, `SettingsLanguage` Qt 6.4 width, and `TransitionsFinished` visual-tree traversal) into #1090 and rebase #1096 and #1142 on top. Follow-ups, not built: per-network proxy editor (#594); backup reminder after encryption (#709); name the replaced transaction on the completion screen (#1071); Custom "6 blocks" label without estimates (#1015). ## Changes needed upstream No Core or Qt code is changed here. Where the app works around a missing Core guarantee, the workaround is noted below so it can be retired later. **Correctness: the app works around these, but the full guarantee needs Core** - Coin locks: upgrading a temporary lock to a persistent one writes the database row without updating the in-memory flag, so unlock and reload restore the lock (Core bug). Core also sends no notification when RPC locks or unlocks coins. The app refuses to persist an already locked coin. Blocks #995. - Commit receipt: `Wallet::commitTransaction` returns nothing, so the app cannot tell disabled broadcast from a mempool rejection or report the reason. It reports the outcome as unknown instead of "sent". Blocks #1008. - Signer results: #1122 needs bitcoin/bitcoin#36114; the app rejects substituted transactions itself. `signBumpTransaction` finalizes a signer's PSBT without verifying every input; the app verifies before committing. Signer device waits hold `cs_wallet`, blocking wallet RPC (#976), and signer subprocesses cannot be cancelled. - Wallet lifetime: there is no atomic load subscription, per-opening unload receipt or shared closing token (#966), and no scoped unlock lease coordinated with RPC relocking. - Concurrent writers: labels, receive requests (#972), settings and network state have no expected-version writes, so RPC writers can still race the app. - Receive types: exact per-type support for imported descriptor wallets needs a non-mutating capability query (#1088). The app learns a type is unavailable only after Core refuses to generate it, by matching Core's "No %s addresses available" message, which a typed error would replace. - Change type: the Send preview sizes change as the wallet's default type, while Core picks the change type per transaction (a Taproot recipient gets P2TR change). Matching it needs a read-only change-type query: the type Core's `TransactionChangeType` would choose for given recipients. Until then the preview can under-estimate by the change-output size difference; Review stays authoritative (#1104, deferred). **Simplify and share: the app adapter works; a Core interface would remove it and let other clients reuse it** - A typed PSBT review result and a typed mempool-acceptance observation (#762, #1071). - Bounded wallet-history pages with one read generation and typed transaction status (#1072). - A consistent node status snapshot (#963), structured RPC argument errors (#1131), typed signer enumeration, typed restore/migration results, exact fee and maximum-send preparation, typed wallet capabilities, wallet-directory inspection, a prepared startup configuration and side-effect-free settings validation (#1074). **Qt** - Instrumented Qt 6.10.2 aborts during QML component creation in `QV4` / `QtPrivate::qustrchr`; native `QFileDialog` construction also races under ThreadSanitizer. - Qt 6.4's `qHashCombine` for `QPair<qint64,int>` triggers an invalid-shift-base report under UBSan; the app uses an ordered map instead. ## GUI thread Backend work stays off the GUI thread. A validation build probed every Core `Node`, `Chain`, `Wallet` and `WalletLoader` method and every subscription handler's disconnect and destructor, and recorded calls on the GUI thread. Across all integration and functional tests the app made none. The only main-thread calls were in a headless profile-inspector helper, which has since been removed. The probe was not rerun after the latest update. A sampling profile of the GUI thread during the functional tests found the remaining long stretches are QML creation, destruction and rendering, which must stay on the GUI thread. Follow-ups, unchanged by this PR: - `GlobalSettings` writes its settings file synchronously when QML calls `setValue`, and builds `QSettings` objects on every `value` read. - `ImageProvider` rasterizes SVG icons synchronously (up to 133 ms observed); an asynchronous image provider would move this to a worker. - Adding a wallet creates all of its views at once (up to 373 ms observed); creating pages lazily or with an asynchronous `Loader` would spread this out. ## Validation Current head `e1c089831e8` (stacked on `#1096` `042d9388dda` and `#1090` `19a75d973e4`, rebased onto `qt6` `db9aa8429ac`). Optional developer tooling (coverage instrumentation, focused test runner, QML dev-resources mode) and extra static-analysis gates (`qml_api_schema.py`, `layout_checks.py`, `test_clang_tidy_selection.py`) were split out for a separate follow-up PR. - **Local validation on `e1c089831e8` (post-cleanup, Qt 6.10.2, `-Werror`, `-DENABLE_QML_LINT=ON`)**: - Full `-Werror` build of all targets passed. - `cmake --build build --target qml_lint` passed with 0 warnings/errors across all 253 QML files in both Qt 6.5 and Qt 6.2 compatibility trees. - `python3 ci/lint.py --scope=app` passed cleanly. - `clang++-21 -Werror` syntax/warning sweep (`-Wall -Wextra -Wunused-private-field -Wshadow-field`) passed across all **147 / 147** test translation units. - Full parallel `ctest` (all **85 / 85** suites: `unit`, `qml`, and all 10 `integration` suites): **3 consecutive rounds passed (255 / 255 suites, 0 failures)** on exact final head `e1c089831e8` (following the unload-during-model-creation fix in `Session::startWith` and `WalletManager::attachWallet`, plus targeted stress runs of `scheduleFeeEstimates_invalidatesStalePreviewState` 50/50, `capturedSecretTransportRefusalDoesNotCallNativeLoader` 20/20, `reconciliationBatchesActivityRebuilds` 20/20, and `receive.enabled.deletingARequestLeavesTheSameIdInAnotherWallet` 5/5). - **GitHub CI on `e1c089831e8`: 14 / 14 passed** (`Ubuntu 22.04, Qt 6.2`, `Ubuntu 24.04, Qt 6.4`, `Ubuntu 26.04, Qt 6.10`, `app lint (Core rules)`, `core lint (Core rules)`, `Clang-tidy (Core rules)`, all three `Address, leak, undefined and integer sanitizers` shards, `linux-x86_64`, `macos-native`, `build (ubuntu-24.04)`, `build (macos-15)`, and `qml-functional-tests`). - **Prior GitHub CI run on pre-cleanup tree `13088febc8c`: 14 / 14 passed** (and `#1090`: 8 / 8 passed; `#1096`: 12 / 12 passed): - `Build and Test`: `Ubuntu 22.04, Qt 6.2`, `Ubuntu 24.04, Qt 6.4`, `Ubuntu 26.04, Qt 6.10` (`qml_lint`), `app lint (Core rules)`, `core lint (Core rules)`, `Clang-tidy (Core rules)`, and all three `Address, leak, undefined and integer sanitizers` shards (`base` including `interface_qml_startup.py`, `interface_qml_shutdown.py`, and `interface_qml_backend_guarantees.py`; `integration 1/2`; and `integration 2/2`). Leak detection is disabled for QML component tests in CI. - `Depends Build`: `linux-x86_64`, `macos-native`. - `Artifacts`: `ubuntu-24.04`, `macos-15`, `windows-2022`. - `GUI Functional Tests`. - **Earlier full-matrix local runs (pre-rebase / pre-CI-fix trees `63d5024d474` and `97a21cf9cba`)**: - ASan/UBSan (limited to 3 CPUs): unit and integration 23/23 in three rounds; settings/modal stress runs 48/48–96/96. - Qt 6.2 (89/89 twice), Qt 6.4 (89/89 twice), Qt 6.8.4 static depends (89/89 three times), Qt 6.10 (unit 12/12, other 69/69, integration 10/10, all 81 functional scenarios). - TSan (instrumented Qt 6.10.2): 17 of 18 unit classes clean; the remaining class reported one race in `capturedSecretSurvivesQueueDelayAndQuietClose`; GUI/integration launches hit a Qt-internal use-after-free (`QV4` / `QtPrivate::qustrchr`), and with halt off four integration cases passed with no data race. Not checked: `interface_gui.py`; manual interactive verification in a native macOS window for macOS-specific UX/accessibility issues (#1066, #1068, #1076, #1116, #1119, #1126 minimized, and #1139 with a real Return key).
rreview commented 2026-11-18 01:34:26 +00:00 (Migrated from github.com)

2 additional verified findings in the Review report.

Earlier concerns neither republished nor resolved: 20 minor findings · 8 suggestions. See the Run archive linked from the Review report for their assessments.

🔴 Major · Send records mixed-input PSBTs before failing to submit them

A collaborative PSBT with an already-signed foreign input can now offer Send, but an input parent absent from the reviewing wallet makes pinned Core throw after recording the transaction and before submitting it.

Location: qml/psbtwork.cpp:647 (head).

🟠 Minor · The same pasted password no longer matches at creation and unlock

When the clipboard contains CR/LF, new-passphrase fields remove it but unlock fields retain it, so repeating the same paste fails; typing the visible password or pasting without line endings still works.

Location: qml/controls/PasswordTextField.qml:20 (head).

🟠 Minor · ENABLE_WALLET=OFF retains dependencies on the excluded WalletModel

The node-only source filter removes WalletModel but retains walletmanager.cpp/.h, leaving unresolved wallet dependencies in the build; this conclusion is from source inspection, not an observed configure-and-link run.

Location: CMakeLists.txt:55 (head).

🟠 Minor · A definite fee-bump refusal leaves Speed Up in Uncertain

An unobserved race that makes commitBumpTransaction return false leaves Speed Up in Uncertain, blocking preparation even though pinned Core has not committed a replacement.

Location: qml/walletbump.cpp:205 (head).

🔵 Suggestion · Signer approval occupies the Core worker shared by every wallet

A hardware-device wait keeps navigation responsive but stalls other wallets' queued backend reads, opening and preparation because their Core queues share the worker running approval.

Location: qml/executor.cpp:87 (head).

🔵 Suggestion · Speed Up does not apply Send's avoid_reuse policy

As in base and Core's bumpfee, Speed Up can automatically add a reused output on an avoid_reuse wallet, despite Send now honoring that opt-in policy.

Location: qml/walletbump.cpp:106 (head).

Review coverage was incomplete.


Reviewed: e1c089831e86 · Review report

<!-- ralph-major:bitcoin-core/gui-qml --> [2 additional verified findings in the Review report](<https://review.fish.foo/report/gui/1142-e1c089831e86f82897690d7aa622319ba43a2146-3307-38.html>). Earlier concerns neither republished nor resolved: 20 minor findings · 8 suggestions. See the Run archive linked from the Review report for their assessments. **🔴 Major · `Send` records mixed-input PSBTs before failing to submit them** A collaborative PSBT with an already-signed foreign input can now offer Send, but an input parent absent from the reviewing wallet makes pinned Core throw after recording the transaction and before submitting it. Location: [qml/psbtwork.cpp:647](<https://github.com/bitcoin-core/gui-qml/blob/e1c089831e86f82897690d7aa622319ba43a2146/qml/psbtwork.cpp#L647>) (head). **🟠 Minor · The same pasted password no longer matches at creation and unlock** When the clipboard contains CR/LF, new-passphrase fields remove it but unlock fields retain it, so repeating the same paste fails; typing the visible password or pasting without line endings still works. Location: [qml/controls/PasswordTextField.qml:20](<https://github.com/bitcoin-core/gui-qml/blob/e1c089831e86f82897690d7aa622319ba43a2146/qml/controls/PasswordTextField.qml#L20>) (head). **🟠 Minor · `ENABLE_WALLET=OFF` retains dependencies on the excluded `WalletModel`** The node-only source filter removes `WalletModel` but retains `walletmanager.cpp/.h`, leaving unresolved wallet dependencies in the build; this conclusion is from source inspection, not an observed configure-and-link run. Location: [CMakeLists.txt:55](<https://github.com/bitcoin-core/gui-qml/blob/e1c089831e86f82897690d7aa622319ba43a2146/CMakeLists.txt#L55>) (head). **🟠 Minor · A definite fee-bump refusal leaves Speed Up in `Uncertain`** An unobserved race that makes `commitBumpTransaction` return `false` leaves Speed Up in `Uncertain`, blocking preparation even though pinned Core has not committed a replacement. Location: [qml/walletbump.cpp:205](<https://github.com/bitcoin-core/gui-qml/blob/e1c089831e86f82897690d7aa622319ba43a2146/qml/walletbump.cpp#L205>) (head). **🔵 Suggestion · Signer approval occupies the `Core` worker shared by every wallet** A hardware-device wait keeps navigation responsive but stalls other wallets' queued backend reads, opening and preparation because their `Core` queues share the worker running approval. Location: [qml/executor.cpp:87](<https://github.com/bitcoin-core/gui-qml/blob/e1c089831e86f82897690d7aa622319ba43a2146/qml/executor.cpp#L87>) (head). **🔵 Suggestion · Speed Up does not apply Send's `avoid_reuse` policy** As in base and Core's `bumpfee`, Speed Up can automatically add a reused output on an `avoid_reuse` wallet, despite Send now honoring that opt-in policy. Location: [qml/walletbump.cpp:106](<https://github.com/bitcoin-core/gui-qml/blob/e1c089831e86f82897690d7aa622319ba43a2146/qml/walletbump.cpp#L106>) (head). Review coverage was incomplete. <!-- Review tier: sensitive --> --- Reviewed: [`e1c089831e86`](<https://github.com/bitcoin-core/gui-qml/commit/e1c089831e86f82897690d7aa622319ba43a2146>) · [Review report](<https://review.fish.foo/report/gui/1142-e1c089831e86f82897690d7aa622319ba43a2146-3307-38.html>)
ValeraFinebits commented 2026-11-19 13:24:07 +00:00 (Migrated from github.com)

I noticed that several settings fields on Windows show white text on a white background in the dark theme, making their values difficult to read. This affects the mempool size, block storage target, database cache, script verification threads, and proxy address fields.

It looks like the settings refactor in a3e15f8244 made the shared component use the app's theme for the text color, while the background stayed light. Could the background of these fields follow the selected theme as well?

I noticed that several settings fields on Windows show white text on a white background in the dark theme, making their values difficult to read. This affects the mempool size, block storage target, database cache, script verification threads, and proxy address fields. It looks like the settings refactor in a3e15f8244 made the shared component use the app's theme for the text color, while the background stayed light. Could the background of these fields follow the selected theme as well?
ValeraFinebits commented 2026-11-19 18:29:06 +00:00 (Migrated from github.com)

I was able to reproduce #1072 on 50767aca7e. I sent 0.005 BTC from one wallet to another, left Activity open in the receiving wallet, and bumped the fee in the sending wallet. The Pending total doubled to 0.010 BTC, even though only the replacement transaction was in the mempool.

I also checked what happens when an incoming transaction expires from the mempool. Core showed a pending balance of zero, but Activity still showed 0.005 BTC. No new blocks were mined in either case.

I was able to reproduce #1072 on 50767aca7e. I sent 0.005 BTC from one wallet to another, left Activity open in the receiving wallet, and bumped the fee in the sending wallet. The Pending total doubled to 0.010 BTC, even though only the replacement transaction was in the mempool. I also checked what happens when an incoming transaction expires from the mempool. Core showed a pending balance of zero, but Activity still showed 0.005 BTC. No new blocks were mined in either case.
ValeraFinebits commented 2026-11-19 19:44:53 +00:00 (Migrated from github.com)

While testing 50767ac, I changed a setting and tried to switch to another section. The dialog asking whether to save my changes stayed open when I pressed Esc. I also noticed that all three buttons had the same orange highlight.

Could we use the shared AlertPopup here, with Save as the only highlighted button? It would be nice if pressing Esc worked like Keep editing and took me back to the form with my changes intact.

While testing 50767ac, I changed a setting and tried to switch to another section. The dialog asking whether to save my changes stayed open when I pressed Esc. I also noticed that all three buttons had the same orange highlight. Could we use the shared `AlertPopup` here, with **Save** as the only highlighted button? It would be nice if pressing Esc worked like **Keep editing** and took me back to the form with my changes intact.
ValeraFinebits commented 2026-11-19 20:15:02 +00:00 (Migrated from github.com)

I ran into one more issue in Settings. I started the app with -dbcache=0, changed Mempool size to 400, and tried to switch to another section. This time I clicked Save in the dialog and got the error The database cache must be at least 4 MiB.

I hadn't changed the database cache setting in the UI. Without -dbcache=0, the same change saves fine.

I ran into one more issue in Settings. I started the app with `-dbcache=0`, changed **Mempool size** to 400, and tried to switch to another section. This time I clicked **Save** in the dialog and got the error `The database cache must be at least 4 MiB.` I hadn't changed the database cache setting in the UI. Without `-dbcache=0`, the same change saves fine.
uqlidi commented 2026-11-21 02:20:14 +00:00 (Migrated from github.com)

Please link the issues that are resolved in this PR for easier tracking in the issues list

Please link the issues that are resolved in this PR for easier tracking in the issues list
ValeraFinebits commented 2026-11-21 18:36:15 +00:00 (Migrated from github.com)

While testing the fix for #1081 on Windows ba4b20f, I noticed I couldn't undo a paste in the Send amount field.

With the locale set to de_DE and BTC selected, I typed 987 in the empty field, selected it with Ctrl+A, and pasted 1,23456789 with Ctrl+V. I tried Ctrl+Z right away to get 987 back, but the field still showed 1,23456789

While testing the fix for #1081 on Windows ba4b20f, I noticed I couldn't undo a paste in the Send amount field. With the locale set to `de_DE` and BTC selected, I typed `987` in the empty field, selected it with Ctrl+A, and pasted `1,23456789` with Ctrl+V. I tried Ctrl+Z right away to get `987` back, but the field still showed `1,23456789`
johnny9 (Migrated from github.com) reviewed 2026-11-22 15:44:09 +00:00
johnny9 (Migrated from github.com) left a comment

The app must continue to ship as a single binary.

The app must continue to ship as a single binary.
johnny9 (Migrated from github.com) commented 2026-11-22 15:44:09 +00:00

This creates and ships a second executable, so the application no longer satisfies the single-binary requirement. The pre-refactor onboarding code used wallet::ListDatabases(path) directly—the Core wallet helper outside the public interfaces layer—and that is the intended exception for this lookup. Restore that approach and remove the helper process, executable target, and artifact entries.

This creates and ships a second executable, so the application no longer satisfies the single-binary requirement. The pre-refactor onboarding code used `wallet::ListDatabases(path)` directly—the Core wallet helper outside the public interfaces layer—and that is the intended exception for this lookup. Restore that approach and remove the helper process, executable target, and artifact entries.
johnny9 (Migrated from github.com) reviewed 2026-11-22 15:46:54 +00:00
johnny9 (Migrated from github.com) left a comment

Additional findings from review of the current head.

Additional findings from review of the current head.
johnny9 (Migrated from github.com) commented 2026-11-22 15:46:54 +00:00

This early focus handoff is followed by the unconditional onOpened: focusContent() below. If the user tabs during the fade-in, the opened handler moves focus back to the first field when the animation ends; I reproduced this with the password dialog on Qt 6.10. Guard the later call with the same inside-popup check or perform only one focus handoff.

This early focus handoff is followed by the unconditional onOpened: focusContent() below. If the user tabs during the fade-in, the opened handler moves focus back to the first field when the animation ends; I reproduced this with the password dialog on Qt 6.10. Guard the later call with the same inside-popup check or perform only one focus handoff.
johnny9 (Migrated from github.com) commented 2026-11-22 15:46:54 +00:00

Core backs up only to the staging path, then this replaces the approved destination outside Core's database locking. On Unix, selecting another loaded wallet's wallet.dat unlinks that live database. The running wallet keeps the old inode, but reopening the path loads the source wallet instead; I reproduced this exact sequence. Reject destinations that resolve to a loaded wallet database, including aliases, or keep the final installation under Core's backup safeguards.

Core backs up only to the staging path, then this replaces the approved destination outside Core's database locking. On Unix, selecting another loaded wallet's wallet.dat unlinks that live database. The running wallet keeps the old inode, but reopening the path loads the source wallet instead; I reproduced this exact sequence. Reject destinations that resolve to a loaded wallet database, including aliases, or keep the final installation under Core's backup safeguards.
johnny9 (Migrated from github.com) commented 2026-11-22 15:46:54 +00:00

The review can still be closed while sendBusy is true. Hiding it sets active=false, which cancels the presentation and drops its observer while the background work can still commit. The wallet applies the transaction, but this page never emits transactionSent, so the completion screen and clearSentForm() are skipped and the user receives no result. Disable dismissal while pending or retain a result owner until the send reaches a terminal state.

The review can still be closed while sendBusy is true. Hiding it sets active=false, which cancels the presentation and drops its observer while the background work can still commit. The wallet applies the transaction, but this page never emits transactionSent, so the completion screen and clearSentForm() are skipped and the user receives no result. Disable dismissal while pending or retain a result owner until the send reaches a terminal state.
johnny9 (Migrated from github.com) commented 2026-11-22 15:46:54 +00:00

With QStringBuilder enabled, these auto-return lambdas deduce builder types that reference temporary QString values created in the return expression. The temporary is gone when QTRY_COMPARE later converts the builder; the sanitizer run reports a stack-use-after-return here. Give each lambda an explicit QString return type or materialize a QString before returning.

With QStringBuilder enabled, these auto-return lambdas deduce builder types that reference temporary QString values created in the return expression. The temporary is gone when QTRY_COMPARE later converts the builder; the sanitizer run reports a stack-use-after-return here. Give each lambda an explicit QString return type or materialize a QString before returning.
johnny9 (Migrated from github.com) commented 2026-11-22 15:46:54 +00:00

DesktopWallets binds selectedWallet.balanceSatoshi, but this mock still exposes only the formatted balance and balanceKnown. Switching to SAT on Qt 6.4 passes undefined to displayUnitLabelForAmount(qint64), deterministically failing the main-routing test. Add a qint64 balanceSatoshi property and keep it consistent with balance.

DesktopWallets binds selectedWallet.balanceSatoshi, but this mock still exposes only the formatted balance and balanceKnown. Switching to SAT on Qt 6.4 passes undefined to displayUnitLabelForAmount(qint64), deterministically failing the main-routing test. Add a qint64 balanceSatoshi property and keep it consistent with balance.
johnny9 (Migrated from github.com) commented 2026-11-22 15:46:54 +00:00

This new case fails in the supported Qt 6.2 job before reaching this assertion. SendCreate.qml reports ReferenceError: root is not defined from the nested sendCompletePage handler, leaving navigation.count at zero. Route the activity signal through a stable id or property visible inside that Component context.

This new case fails in the supported Qt 6.2 job before reaching this assertion. SendCreate.qml reports ReferenceError: root is not defined from the nested sendCompletePage handler, leaving navigation.count at zero. Route the activity signal through a stable id or property visible inside that Component context.
ValeraFinebits (Migrated from github.com) reviewed 2026-11-25 13:11:46 +00:00
ValeraFinebits (Migrated from github.com) left a comment

I retested the issues from my earlier comments on Windows with 02bca02 and confirmed they're all fixed.

I ran into another issue with the default settings. I cleared Mempool size, selected Storage, and clicked Save in the dialog. The dialog closed and I stayed on the Mempool page. I then entered 400 and clicked Save settings at the bottom of the page. The value was written to settings.json. The field disappeared, and the page showed The settings editor is unavailable. I expected the field to stay visible and show 400.

I also noticed that Save settings, Discard edits, and Refresh all have the same orange highlight. They sit below the sidebar and show up even in Wallet settings. Could we put these buttons below the form in the sections where they apply, with Save settings as the only highlighted button?

Screenshots settings1 settings2
I retested the issues from my earlier comments on Windows with 02bca02 and confirmed they're all fixed. I ran into another issue with the default settings. I cleared **Mempool size**, selected **Storage**, and clicked **Save** in the dialog. The dialog closed and I stayed on the **Mempool** page. I then entered `400` and clicked **Save settings** at the bottom of the page. The value was written to `settings.json`. The field disappeared, and the page showed `The settings editor is unavailable.` I expected the field to stay visible and show `400`. I also noticed that **Save settings**, **Discard edits**, and **Refresh** all have the same orange highlight. They sit below the sidebar and show up even in **Wallet settings**. Could we put these buttons below the form in the sections where they apply, with **Save settings** as the only highlighted button? <details> <summary>Screenshots</summary> <img width="1604" height="1338" alt="settings1" src="https://git.fish.foo/attachments/d0765b8b-2d8e-4c6e-954b-92e0fa4c5267" /> <img width="1604" height="1336" alt="settings2" src="https://git.fish.foo/attachments/d7509392-11c1-4728-a587-0da48f804158" /> </details>
johnny9 (Migrated from github.com) reviewed 2026-11-26 08:52:24 +00:00
johnny9 (Migrated from github.com) commented 2026-11-26 08:52:24 +00:00

Fixed in 7e911a3ffa. Onboarding uses wallet::ListDatabases() again. The helper process, its executable target and its artifact entries are removed, so the app ships one executable.

Fixed in 7e911a3ffa9. Onboarding uses `wallet::ListDatabases()` again. The helper process, its executable target and its artifact entries are removed, so the app ships one executable.
johnny9 (Migrated from github.com) reviewed 2026-11-26 08:52:28 +00:00
johnny9 (Migrated from github.com) commented 2026-11-26 08:52:28 +00:00

Fixed in d630ea4afd. backup::Screen refuses a destination that is the same file (fs::equivalent) as a wallet database or its -journal. The list holds every wallet in the wallet folder and every loaded wallet, so symlinked folders and hard links are refused too. backup::Write screens the final path again right before it installs.

Fixed in d630ea4afde. `backup::Screen` refuses a destination that is the same file (`fs::equivalent`) as a wallet database or its `-journal`. The list holds every wallet in the wallet folder and every loaded wallet, so symlinked folders and hard links are refused too. `backup::Write` screens the final path again right before it installs.
johnny9 (Migrated from github.com) reviewed 2026-11-26 08:52:31 +00:00
johnny9 (Migrated from github.com) commented 2026-11-26 08:52:31 +00:00

Fixed in b753f5326c. TransactionReviewController::canDismiss is false while a send is submitting with no prompt open, and the close button and Escape follow it. The wallet now clears the sent draft when the send commits, so a forced hide no longer skips that step.

Fixed in b753f5326c2. `TransactionReviewController::canDismiss` is false while a send is submitting with no prompt open, and the close button and Escape follow it. The wallet now clears the sent draft when the send commits, so a forced hide no longer skips that step.
johnny9 (Migrated from github.com) reviewed 2026-11-26 08:52:34 +00:00
johnny9 (Migrated from github.com) commented 2026-11-26 08:52:34 +00:00

Fixed in 3d8d80f543. Both lambdas return QString explicitly, so no builder outlives its temporaries.

Fixed in 3d8d80f543b. Both lambdas return `QString` explicitly, so no builder outlives its temporaries.
johnny9 (Migrated from github.com) reviewed 2026-11-26 08:52:37 +00:00
johnny9 (Migrated from github.com) commented 2026-11-26 08:52:37 +00:00

Fixed in b753f5326c. The completion page calls transactionReviewPopup.finish() and transactionReviewPopup.viewTransaction(txid). These functions run in the popup's context, which outlives the page, so Qt 6.2 no longer reports root as undefined.

Fixed in b753f5326c2. The completion page calls `transactionReviewPopup.finish()` and `transactionReviewPopup.viewTransaction(txid)`. These functions run in the popup's context, which outlives the page, so Qt 6.2 no longer reports `root` as undefined.
johnny9 (Migrated from github.com) reviewed 2026-11-26 08:52:39 +00:00
johnny9 (Migrated from github.com) commented 2026-11-26 08:52:39 +00:00

Fixed in 244be272b3. The mock wallet has a qint64 balanceSatoshi property that notifies with balance.

Fixed in 244be272b37. The mock wallet has a `qint64 balanceSatoshi` property that notifies with `balance`.
johnny9 (Migrated from github.com) reviewed 2026-11-26 08:52:42 +00:00
johnny9 (Migrated from github.com) commented 2026-11-26 08:52:42 +00:00

Fixed in 0923e37ffb. Both handlers call focusContentUnlessInside(), so onOpened no longer takes focus back from a field the user tabbed to during the fade-in.

Fixed in 0923e37ffb0. Both handlers call `focusContentUnlessInside()`, so `onOpened` no longer takes focus back from a field the user tabbed to during the fade-in.
Sign in to join this conversation.
No description provided.