Send-all and Speed Up confirmations can ignore the selected display unit #1106

Open
opened 2026-11-10 15:41:42 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-11-10 15:41:42 +00:00 (Migrated from github.com)

The global BTC/sats setting is applied inconsistently in two payment confirmations.

  • Send all. With sats selected, enter a recipient, choose Use maximum, then click Review Transaction and accept the first maximum warning. With Review open, switch to BTC using View → Toggle display unit. Review showed 0.00999890 BTC, but clicking Send transaction opened a final Send all available funds? warning that still showed 999890 sats. Closing Review and preparing the same payment again in BTC made the warning use BTC.
  • Speed Up. With sats selected, open a replaceable outgoing transaction in Activity and choose Speed up. For an original fee of 141 sats and a proposed fee of 1,410 sats, Original fee and New fee showed 0.00000141 BTC and 0.00001410 BTC.

The amounts are numerically correct. Both confirmations should show them in the currently selected unit, including when the user changes units with Review open. This follows the global display-unit behavior described in #471 and #512.

I reproduced both cases on macOS with Qt 6.9 at d567e3eb2497. At eed1f426fcb6, the send-all warning still reads an amount object that keeps its original unit, and Speed Up still formats its fees with a default BTC amount object. Transaction unit setter, send-all warning, Speed Up fee formatter.

The global BTC/sats setting is applied inconsistently in two payment confirmations. - **Send all.** With sats selected, enter a recipient, choose **Use maximum**, then click **Review Transaction** and accept the first maximum warning. With Review open, switch to BTC using **View → Toggle display unit**. Review showed `0.00999890 BTC`, but clicking **Send transaction** opened a final **Send all available funds?** warning that still showed `999890 sats`. Closing Review and preparing the same payment again in BTC made the warning use BTC. - **Speed Up.** With sats selected, open a replaceable outgoing transaction in Activity and choose **Speed up**. For an original fee of 141 sats and a proposed fee of 1,410 sats, **Original fee** and **New fee** showed `0.00000141 BTC` and `0.00001410 BTC`. The amounts are numerically correct. Both confirmations should show them in the currently selected unit, including when the user changes units with Review open. This follows the global display-unit behavior described in [#471](https://github.com/bitcoin-core/gui-qml/issues/471) and [#512](https://github.com/bitcoin-core/gui-qml/issues/512). I reproduced both cases on macOS with Qt 6.9 at `d567e3eb2497`. At `eed1f426fcb6`, the send-all warning still reads an amount object that keeps its original unit, and Speed Up still formats its fees with a default BTC amount object. [Transaction unit setter](https://github.com/bitcoin-core/gui-qml/blob/eed1f426fcb64daa61b004590335a03afe376274/qml/models/walletqmlmodeltransaction.cpp#L145), [send-all warning](https://github.com/bitcoin-core/gui-qml/blob/eed1f426fcb64daa61b004590335a03afe376274/qml/pages/wallet/SendTransactionReview.qml#L387), [Speed Up fee formatter](https://github.com/bitcoin-core/gui-qml/blob/eed1f426fcb64daa61b004590335a03afe376274/qml/models/bumptransactionmodel.cpp#L14).
Sign in to join this conversation.
No description provided.