Reselecting the checked Custom fee option overwrites the entered rate #1086

Open
opened 2026-11-09 00:25:31 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-11-09 00:25:31 +00:00 (Migrated from github.com)

Clicking the already-selected Custom option in the Speed menu replaces the user’s explicit fee rate with an estimate, even though neither the fee mode nor confirmation target changed.

To reproduce:

  1. Prepare a payment of 0.02 BTC with automatic input selection.
  2. Choose Custom, enter 17 sat/vB, leave the target at six blocks, and open Review.
  3. Close Review, reopen the Speed menu, and click the already-checked Custom row without moving the slider.
  4. Open Review again.

In the regtest fixture, the rate changed from 17 to 1 sat/vB, and the fee changed from 2,397 to 141 sats. The recipient, amount and target were unchanged. Re-entering 17 restored the original fee.

Reselecting the active option should preserve the entered rate. Replacing it should require a deliberate rate or target change.

The Custom selection handler calls setCustomFeeTarget(), which obtains an estimate and overwrites the custom rate.

Observed on merged qt6 at 6e54a48ab571, macOS / Qt 6.9, using the full application with offscreen regtest fixtures. The replacement is visible in Review; no transaction was submitted. The specific replacement rate depends on the available estimate.

Clicking the already-selected **Custom** option in the Speed menu replaces the user’s explicit fee rate with an estimate, even though neither the fee mode nor confirmation target changed. To reproduce: 1. Prepare a payment of `0.02 BTC` with automatic input selection. 2. Choose **Custom**, enter `17 sat/vB`, leave the target at six blocks, and open Review. 3. Close Review, reopen the Speed menu, and click the already-checked **Custom** row without moving the slider. 4. Open Review again. In the regtest fixture, the rate changed from **17 to 1 sat/vB**, and the fee changed from **2,397 to 141 sats**. The recipient, amount and target were unchanged. Re-entering `17` restored the original fee. Reselecting the active option should preserve the entered rate. Replacing it should require a deliberate rate or target change. The [Custom selection handler](https://github.com/bitcoin-core/gui-qml/blob/6e54a48ab571cb46b813eb1d98a301401089192f/qml/components/SendFeeSelection.qml#L48) calls [`setCustomFeeTarget()`](https://github.com/bitcoin-core/gui-qml/blob/6e54a48ab571cb46b813eb1d98a301401089192f/qml/models/walletqmlmodel.cpp#L827), which obtains an estimate and overwrites the custom rate. Observed on merged `qt6` at `6e54a48ab571`, macOS / Qt 6.9, using the full application with offscreen regtest fixtures. The replacement is visible in Review; no transaction was submitted. The specific replacement rate depends on the available estimate.
Sign in to join this conversation.
No description provided.