qml: Handle payment URIs passed on the command line

bitcoin-core/gui-qml: PR #934

1 minor finding

Findings

Link

[minor] · Retrying an interrupted payment request pulls the user back to Send

If native-menu navigation hides Send during a command-line payment review, the queued retry selects Send again and reopens the review; this platform-specific interaction follows from source tracing, not an observed UI run.

Location: qml/pages/wallet/DesktopWallets.qml:168 (head).

Details and suggested fix

Native-menu routes such as Activity remain enabled while the modal payment review is open. Hiding Send calls interruptPaymentRequest(), and WalletView.pageHidden() closes the review. finishPendingPaymentUri("interrupted") retains the request and schedules another delivery. The wallet view still exists, and neither readiness predicate checks Send visibility or the selected tab, so applyIncomingPaymentUri() selects Send again and reopens the review. The user must Apply, Discard or Escape before navigating away. Disable shell-navigation menu commands while paymentUriDeliveryInFlight is true, matching the modal review, and add a routing test that attempts to leave Send during review.


Coverage details