1 major finding · 1 minor finding · 5 suggestions
Findings
[major] · Run again immediately replays payments against the current wallet
The new replay actions can repeat a payment from an unlocked or unencrypted wallet without confirmation, using the current wallet even when the historical command ran against another wallet.
Location: qml/pages/node/CommandConsole.qml:180 (head).
Details and suggested fix
Both the hover button and context-menu action call runCommandAt(), which immediately submits commandAt(row) with the live root.walletName. canRunAgain() checks only for command text, redaction, and an in-flight command; ordinary sendtoaddress calls remain replayable. After running a payment on w1 and selecting w2, replaying the old row therefore targets w2, although its historical wallet notice still names w1. The new wallet notice is appended before dispatch, but only after the click. Without switching wallets, the hover action can still repeat the payment. Normal backend validation and wallet locking apply, and a switch after submission cannot retarget the captured wallet argument. Unlike history recall followed by Enter, this removes the intermediate review step. Route state-changing replays through a review step that shows the command and target wallet before submission. The recorded Qt 6.12 offscreen checks observed immediate submissions to a mock backend, not actual transactions or measured misclicks.
[minor] · Front trimming clears selections even when the selected rows survive
When new output exceeds the 50,000-line cap, removing old rows clears an existing selection and prevents a held drag from extending until the next press.
Location: qml/controls/MonospaceOutputView.qml:498 (head).
Details and suggested fix
A delayed reply can arrive while the user selects output near the row cap. appendLines() removes old front rows before insertion, and onRowsRemoved() calls _onRowsShifted(), which clears both selection endpoints even if neither selected endpoint was removed. Further pointer movement calls _extendSelectionTo(), but its _selAnchor guard now prevents any extension. Preserve surviving selections by translating both endpoint indices using the removal range, and clear them when an endpoint is removed or the model resets. This retains the protection against copying shifted rows without interrupting selection of retained output.
Optional improvements
[suggestion] · The larger line cap permits substantially more retained text
After many thousands of large single-line replies, the 50,000-line cap permits substantially more retained text than the old 5,000-entry cap; virtualization does not bound that model payload.
Location: qml/models/rpcconsolemodel.h:55 (head).
Details and suggested fix
RpcConsoleWorker truncates each result to 50,000 characters, but EscapeToLines() keeps a scalar payload in one row, with the truncation notice in another. Including the command echo, roughly 16,000 such replies fit under the new cap, versus roughly 2,500 under the old whole-entry cap. Each row also retains HTML and plain-text representations. Keep the line cap, but maintain a retained-character budget alongside it and evict whole entries when either limit is exceeded. This addresses aggregate storage without undoing virtualization or whole-entry trimming. Reaching this case requires many thousands of commands; physical memory consumption was not measured.
[suggestion] · The off-screen search test does not assert its virtualization precondition
The test checks row 480 only after searching, so an implementation that eagerly instantiates every row could still pass.
Location: test/qml/tst_monospaceoutputview.qml:217 (head).
Details and suggested fix
This fixture creates 500 rows in a 120-pixel view with autoScrollToBottom: false, but never verifies that the distant match lacks a delegate before navigation. After tryCompare(output, "count", 500), add verify(findChild(output, "searchOutput_content_480") === null) before assigning searchText. The existing post-search assertions then verify that navigation creates and selects the previously absent delegate, while the new assertion guards virtualization without relying on frame timings.
[suggestion] · Ctrl+A and the menu's Select all use different scopes
After clicking a row, Ctrl+A selects only that entry, while the context-menu Select all selects the entire transcript.
Location: qml/controls/MonospaceOutputView.qml:542 (head).
Details and suggested fix
StandardKey.SelectAll calls selectEntryAt(_activeRow) whenever a valid row was last pressed, including a right-click. The context-menu action instead calls selectAll() unconditionally. Entry-scoped keyboard selection is intentional and tested, but users cannot infer this scope difference from the Select all action. Make the keyboard shortcut select the whole transcript as well, leaving entry selection to the existing Select output or Select command action. If entry-scoped Ctrl+A is retained, explicitly name and document the differing scopes.
[suggestion] · Formatting fixes arrive after the commit introducing their contracts
The initial formatting commit has whitespace-mapping and oversized-block timestamp problems fixed later in the series, requiring reviewers to reconcile intermediate behavior that is already correct at head.
Location: qml/models/rpcconsolemodel.cpp:91 at 7aa20dcfcc08 (commit) (commit).
Details and suggested fix
Fold the corrections and tests from 9f3c96bee4cce4e18cdfbb4928e91f77ac3a21a1, 9d97a8baa30c3ea7a7adca0269dd57bf823b3b43, and 75636973954e2797141364e18713a92412c7d156 into 7aa20dcfcc08864a095a3b2ad5dc6bae5b5f90a4, which introduces appendLines() and LineSink. The first correction aligns whitespace in plainContent with rendering; the second changes the timestamp condition from i == 0 to i == skipped; the third removes the incorrect approximately 12 MB claim. Consolidation lets reviewers validate the intended formatting contract in its introducing commit rather than track these intermediate discrepancies. Move NumberedLines() from d88cf4a274b2b8f8f27c1249ea80c6b1c314dd92 with the timestamp test so it remains buildable. Leave that commit's whole-entry trimming after 410d506cfc3eb128a628bfdb147c7beeb9619886, which introduces entry IDs. This rearrangement concerns review flow only; the fixes are present at head.
[suggestion] · failOnWarning() guards arrive after the supported-version test break
Source inspection shows intermediate QML suites call the Qt 6.3-only failOnWarning() API despite supporting Qt 6.2; the later guard fixes head, but no Qt 6.2 failure was executed.
Location: test/qml/tst_monospaceoutputview.qml:70 at 410d506cfc3e (commit) (commit).
Details and suggested fix
Put the guard from 70e5d4ce68a2f5e69f4e5bb6af475334b6875557 into the commits introducing each call: 410d506cfc3eb128a628bfdb147c7beeb9619886 for tst_monospaceoutputview.qml, and e50a9d5598064acc93506a5bfd1d5257cec4e231 for tst_commandconsole.qml. Their unconditional calls in init() prevent the affected tests from running on Qt 6.2 until the later fix, making intermediate revisions harder to validate or bisect on the minimum supported version. Moving if (typeof failOnWarning === "function") to each introduction and dropping the later guard-only commit preserves the final tree and retains warning checks wherever the API exists.