Page MenuHomePhabricator

gui: Ensure tx send error highlight is visible
ClosedPublic

Authored by PiRK on Tue, Oct 13, 14:56.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABCac424d959323: gui: Ensure tx send error highlight is visible
Summary

If sending to multiple recipients and one of the recipient fields is malformed,
the highlighted field may not be visible due to being scrolled out of view,
leading to a confusing lack of error feedback when clicking Send. To avoid this
problem ensure the first field containing an error is scrolled into view
when Send is clicked.

Backport of Core PR16694

Test Plan

ninja && ninja check
In bitcoin-qt, create a transaction with multiple recipients, add a mistake to
an address that is scrolled out of view, click send.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.