You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy-paste some address into the Recipient address field.
Enter any amount in the Amount field and click SEND and confirm the transaction. The following popup dialog at the bottom will appear:
While the Transaction sent popup dialog is still presented, quickly copy-paste the address into the Recipient address field again, then click in the Amount box and start typing the numbers into it. Issue is that the focus automatically moves back from the Amount box to the Recipient address field without user's intention, making the user type the numbers into the wrong (Recipient address) field.
Thought: While the user opens the SEND tab, it perfectly makes sense that the Recipient address field comes in focus every time, but while the user is already in SEND tab and after sending the transaction, it doesn't make sense that the focus automatically moves back to the Recipient address field if the user intentionally selected/mouse-clicked the Amount field few moments earlier.
OS: Ubuntu Linux 20.04
The text was updated successfully, but these errors were encountered:
ambassador000
changed the title
[GUI][Feature request]
[GUI][Feature request] Focus moves back to the wrong box after sending a transaction
Oct 14, 2021
f7ed184 Fix focus on send (Alessandro Rezzi)
Pull request description:
This is a trivial but quite annoying bug fix. Basically once a transaction is actually sent from the GUI (so a few seconds after the user presses on "SEND" in the confirmation screen) the focus goes back to the "Recipient address" field regardless the screen the user is currently on.
Now once the "SEND" button is pressed the focus on "Recipient address" is already (and istantly) gained by the function `showEvent` in send.cpp, so to fix this issue I simply removed the call to `setFocusOnLastEntry` that happens when the transaction is actually sent (which is therefore completely useless).
This PR also solves #2597 and #1566
ACKs for top commit:
Liquid369:
tACK f7ed184
Fuzzbawls:
ACK f7ed184
Tree-SHA512: d6c98c3d8af6196b5f63ef0274043e9a3d064f9cba6bc057f2e8188b3c2edbf8c85455eb9767728d7281b60b835748ee0ed48cf2eaf4a973d15ebb557486fb81
Copy-paste some address into the
Recipient address
field.Enter any amount in the
Amount
field and clickSEND
and confirm the transaction. The following popup dialog at the bottom will appear:While the
Transaction sent
popup dialog is still presented, quickly copy-paste the address into theRecipient address
field again, then click in theAmount
box and start typing the numbers into it. Issue is that the focus automatically moves back from theAmount
box to theRecipient address
field without user's intention, making the user type the numbers into the wrong (Recipient address
) field.Thought: While the user opens the
SEND
tab, it perfectly makes sense that theRecipient address
field comes in focus every time, but while the user is already inSEND
tab and after sending the transaction, it doesn't make sense that the focus automatically moves back to theRecipient address
field if the user intentionally selected/mouse-clicked theAmount
field few moments earlier.OS: Ubuntu Linux 20.04
The text was updated successfully, but these errors were encountered: