mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Send: Use maximum hides preparation errors and leaves an unusable amount #1077
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#1077
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?
When a maximum-payment preview fails, Send discards the reason and leaves either the full balance or an empty amount in the form. Review is disabled, but the displayed explanation does not identify the problem.
To reproduce the oversized-transaction case:
Core’s
sendallreports Transaction too large for the same wallet. Attempting a fixed 1.59 BTC payment through the GUI displays the existing maximum-weight error and consolidation guidance. Use maximum works with the 100-output control wallet.The same two UI states also occur when fee estimation has no data and fallback fees are disabled. Choosing Custom and entering 5 sat/vB produces a valid maximum amount and enables Review, but the failure state does not explain that recovery.
The error is lost in QML’s wallet model:
TryPreviewFeeconverts a failed maximum-transaction result into an empty preview.updateMaximumAmountleaves the previous amount unchanged, and the form derives a balance error from that amount.Please preserve and display the actual failure reason, distinguish an unavailable maximum from a valid amount, and provide appropriate recovery guidance: a custom fee when estimation is unavailable, or fewer inputs/a smaller payment when the transaction is too large.
Reproduced on merged
qt6at6e54a48ab571, macOS / Qt 6.9.0, using isolated regtest and custom-signet fixtures. Related: #1015, #1025 and #1036; this report also covers the independent oversized-transaction trigger.