Send: Use maximum hides preparation errors and leaves an unusable amount #1077

Open
opened 2026-11-06 19:20:39 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-11-06 19:20:39 +00:00 (Migrated from github.com)

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:

  1. Fund a disposable regtest wallet with 1,600 outputs of 0.001 BTC each.
  2. Open Send, click Use maximum, and enter a valid recipient address.
  3. The amount remains 1.60000000 BTC, fees show “—”, and the form reports Amount plus fee exceeds available balance. Review is disabled.
  4. Clear the form and enter the address before clicking Use maximum. The amount stays empty, while the footer asks for a valid recipient address and amount.

Core’s sendall reports 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: TryPreviewFee converts a failed maximum-transaction result into an empty preview. updateMaximumAmount leaves 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 qt6 at 6e54a48ab571, 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.

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: 1. Fund a disposable regtest wallet with 1,600 outputs of 0.001 BTC each. 2. Open Send, click **Use maximum**, and enter a valid recipient address. 3. The amount remains **1.60000000 BTC**, fees show “—”, and the form reports **Amount plus fee exceeds available balance**. Review is disabled. 4. Clear the form and enter the address before clicking **Use maximum**. The amount stays empty, while the footer asks for a valid recipient address and amount. Core’s `sendall` reports **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: `TryPreviewFee` converts a failed maximum-transaction result into an empty preview. `updateMaximumAmount` leaves 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 `qt6` at `6e54a48ab571`, 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.
Sign in to join this conversation.
No description provided.