mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Send: Empty Manual coin selection still chooses inputs automatically #1001
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#1001
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Selecting Manual with no coins selected leaves Review enabled. The GUI says “No inputs selected,” but reviewing the transaction automatically chooses an input.
To reproduce:
My reproduction had zero manually selected coins, but the prepared PSBT contained one automatically selected input.
Manual mode should require a selection before Review, or visibly return to Automatic before preparing the transaction. The displayed mode should match how the inputs are selected.
Tested on
qt6at09c6de77d7f36bf7fa07c354ebeea51105c447a3, macOS arm64, Qt 6.9.0. I drove the offscreen GUI through the existing test bridge with a real wallet and decoded the exported PSBT through Core RPC. No transaction was broadcast.Related to #923. Closed #739 concerns a nonempty manual selection.
This also happens after starting with a valid manual selection, and it can substantially increase an existing payment.
Locking the last selected coin through the GUI leaves Manual selected but changes Use maximum to use other wallet funds. In my reproduction, the amount increased from
0.39999749 BTCto1.99999890 BTC, using a previously unselected 2 BTC coin.Steps to reproduce
Review displays Use all available funds?. Accepting that warning reaches a review showing the larger payment and the previously unselected input. The warning and final review show the increase correctly; I stopped without sending.
Locking an unselected coin instead leaves the selected-coin maximum unchanged. Spending the last selected coin from another client also reaches the same fallback.
The QML coin-control policy allows other inputs whenever the selected set becomes empty, without preserving the distinction between Automatic and an empty Manual selection.
Losing the last manually selected input should leave the payment requiring a new selection. Locking a coin should exclude it without expanding the payment to other wallet funds.
Reproduced through the native GUI on
qt6atd567e3eb2497, macOS arm64, Qt 6.9.0, using disposable regtest wallets.