5 suggestions
Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.
Optional improvements
[suggestion] · The watch-only migration introduces an unsupported PSBT constructor call
Source inspection shows that the watch-only integration source cannot compile from 9b37186b through c8f07979; 5add75bd fixes the constructor call, but leaves those intermediate commits unsuitable for building or bisection.
Location: test/integration/signers/test_watchonly.cpp:66 at 9b37186b5caf (commit) (commit).
Details and suggested fix
Commit 9b37186b5caf6c06f66226ab987655e78824895d introduces PartiallySignedTransaction psbt{CMutableTransaction{}}; and adds the file to bitcoinqml_integration_tests. The unchanged Core pin, 44901d8f64cb617714707bd025ecd83f108353c2, requires both the transaction and a version in this constructor. The call remains unchanged at c8f079792cda3695259be09e9a7a7264f69fcd6e. Fold 5add75bde1dd2894bf423c9b7c39312665810bd1, which adds /*version=*/2, into the introducing commit. Nothing depends on the intermediate one-argument form, so this preserves the final tree while removing this buildability problem from the series.
[suggestion] · Live-QML coverage and scenario exit-status changes share one commit
c8f07979 combines substantial QML-driven wallet coverage with an independent scenario exit-status change, making preserved UI coverage and runner behavior harder to validate separately.
Location: test/integration/signers/test_watchonly.cpp:55 at c8f079792cda (commit) (commit).
Details and suggested fix
The watch-only module introduced in 9b37186b5caf6c06f66226ab987655e78824895d prepares and exports through model calls. Commit c8f079792cda3695259be09e9a7a7264f69fcd6e replaces those calls with Review and Save interactions and checks the visible actions. It similarly moves foreign-PSBT import through QML and adds warning, action-visibility and recovery assertions. The same commit also changes qml_scenarios.py so a mixed pass/skip suite returns 77, with separate self-tests and registration. Split that runner work into its own commit and give the remaining QML-coverage commit a body identifying the paths it now exercises. This makes both changes independently reviewable without moving the Review interaction earlier in the series, where the focus behavior fixed by 5d5c0d8aa5ff14679a97890b906c409d4bde7007 would need consideration.
[suggestion] · Shared Click helper changes are bundled with the amount-focus fix
5d5c0d8a combines a focused production correction with shared click-delivery, scrolling and clipping changes, obscuring the helper's separate behavior and regression tests.
Location: test/integration/fixture/test_util.h:181 at 5d5c0d8aa5ff (commit) (commit).
Details and suggested fix
Commit 5d5c0d8aa5ff14679a97890b906c409d4bde7007 removes onEditingFinished: root.edited() from SendRecipientEditor.qml, but also changes ClickWithRetries to require a completed click and reject canceled presses. It additionally moves scrolling into the readiness loop and adds clip-ancestor checks, with two synthetic helper tests in test_navigation.cpp. Keep the production fix, its tst_sendcreate.qml regression and the watch-only single-click assertion together first. Then place the test_util.h rewrite and its two helper tests in a separate commit explaining canceled presses and deferred layout. Putting the production fix first preserves the Review interaction before tightening helper semantics; separating the shared helper behavior makes its broader effects easier to review and bisect without changing the final tree.
[suggestion] · The Activity date-range test bypasses pointer delivery to Apply
The migrated test emits Apply's clicked() directly and cannot detect an unreachable button; the old bridge-based test also did not guarantee pointer delivery.
Location: test/integration/wallet_activity/test_activity.cpp:292 (head).
Details and suggested fix
calendarRangeFiltersAndResetsLiveRows clicks the date controls and calendar cells through qmltest::Click, but checks only that Apply is enabled before invoking its clicked() signal. The component test also calls apply.clicked() directly. These paths exercise range application and popup closure without checking whether pointer input can reach Apply. Replace the invocation with QVERIFY(qmltest::Click(m_app, "activityDateRangeApply")); and retain the existing filter, range and row-count assertions. That uses the shared helper's visibility, scrolling, clipping and completed-click checks rather than bypassing them.
[suggestion] · qml_scenario_runner is excluded from the documented unit/QML run
The new scenario-runner self-test has no CTest label, so the README's unit/QML command skips it, although unfiltered CI test runs still include it.
Location: test/CMakeLists.txt:8 (head).
Details and suggested fix
qml_scenario_runner checks mixed pass/skip propagation, failure precedence and exact stage selection, but its registration has no LABELS property. The existing unit list includes the similar Python test bitcoinqml_process_checks and omits this one. Consequently, ctest --test-dir build --output-on-failure -L 'unit|qml' does not select these runner checks. Add qml_scenario_runner to the existing set_tests_properties(... PROPERTIES LABELS unit) list so the documented local command includes them.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Click helper silently retries swallowed clicks for up to ten seconds (earlier report)
Background
Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.
Documented decisions
The QML transition explicitly assigns regression coverage to unit, QML and integration tests, with only a small Python test-bridge end-to-end suite for core user flows.
The earlier staging plan explains why moving detailed feature permutations out of Python is an architectural boundary rather than simply a reduction in functional-test count. The pinned migration documentation preserves process, restart, multi-node, compatibility and external-device journeys while assigning live-model details to integration tests.
The integration framework was introduced to exercise production application startup and shutdown with a real regtest node, isolated data/settings and fresh subprocesses. Its custom runner reflects a stated requirement to deliver a single GUI test binary, despite an objection that CTest could simplify orchestration.
This explains the retained subprocess runner, module discovery and stage selection. Isolation is a deliberate part of the framework, not something the migration intends to replace with a long-lived application shared across unrelated scenarios. The discussion records a packaging/orchestration tradeoff, not evidence that either arrangement is universally preferable.
Source 1 · Source 2 · Source 3
Watch-only transaction composition historically exists to let an online wallet select coins and construct a payment while another device or application supplies signatures. The original GUI feature generated a PSBT instead of sending the transaction.
This directly explains why a valid, reviewable watch-only draft need not have a final Send action. At the application base, preparation unconditionally advertised send capability; at the head, that capability depends on local signing or an external signer, while the inspected PSBT export path still supports unsigned export.
The early PSBT GUI discussion explicitly anticipated that private-key presence alone would become an inadequate capability model: a wallet might hold only part of a multisignature authorization, or hold no keys while a connected hardware wallet could sign. It also distinguished composing/exporting from loading, co-signing and broadcasting.
This history explains the external-signer exception in the head’s send-capability calculation and why import, review, export, signing and broadcast are separate behaviors worth exercising independently. It does not establish that the present capability calculation handles every historical example.
Historical PSBT work made unlocking an explicit prerequisite when signing, including a GUI unlock request rather than leaving the operation to proceed with a locked wallet.
This supplies the historical authorization context for keeping encrypted-wallet signing and unlock failures observable in tests. It also helps distinguish PSBT inspection/export from an operation that actually requires private-key access.
Retained per-wallet views were introduced to prevent dialogs and confirmations from acting on a newly selected wallet. The proposal chose wallet-bound pages over individually guarded popups, accepting additional memory use to preserve drafts and navigation and reduce dependence on every popup implementing a context guard.
The current WalletView teardown adjustment operates within an intentional lifetime architecture. Retained stacks exist to preserve wallet identity and state; their cleanup therefore has both lifetime and authorization context, rather than being merely a visual optimization.
Ralph's inferences
Receive unlocking follows an operation-scoped pattern: first attempt address generation without unlocking, request credentials when necessary, and restore the prior locked state after the action. This limits how far a credential supplied for address generation changes wallet security state.
The pinned legacy Qt implementation already attempts generation before requesting an UnlockContext, whose destructor relocks a previously locked wallet. The QML model similarly uses a relock guard. The new hardened-wallet fixture deliberately exercises a case where cached address generation cannot indefinitely avoid private-key access, making cancellation, retry and relock distinct integration behaviors.
The pinned wallet interfaces distinguish an opportunistic status query from a definitive wallet-transaction lookup: tryGetTxStatus can return false because the wallet lock is unavailable, whereas getTx acquires the lock before checking membership.
Core is pinned to the same revision at base and head. The affected application import path changes which existing contract it uses to recognize an already-known PSBT. The relevant tradeoff is deferred/nonblocking status access versus a potentially waiting membership decision, not a change to transaction validity or the Bitcoin protocol.
Live application integration and mocked QML component tests answer different questions: component fixtures isolate control behavior, while production models and a real node expose wiring, notification and lifecycle contracts that mocks can omit.
This explains why the migration retains component coverage while adding live-model scenarios, and why unexpected QML warnings are meaningful evidence in application navigation tests. The earlier framework explicitly made engine warnings, including binding loops, fail navigation integration coverage.