Open darkwing opened 2 weeks ago
By contrast, two dapp-suggested sends across chain work as I would expect: one after another:
https://github.com/MetaMask/metamask-extension/assets/46655/5034540c-3fbf-4a3d-98db-d05f5ce5a40e
Confirmed, seeing this behavior on V12 1c7e132f5f4edeed815b2c9400c7cf09a5a26c91
Being on a different network between the manual send and dapp transaction is key to repro
We made the conscious decision to disable NetworkPicker in Send flow due to issues we ran into, and that the Network has never been allowable to switch mid-send. That would be why switching to a dapp on another network blows away the draft transaction. I think we should close this unless we can think of a more graceful way to let the user know the transaction will be gone
What are you thoughts on keeping this open, but removing the release and regression tags?
@jiexi @darkwing apologies for the slow response. I agree with removing the release and regression tags. It's in any case not a regression as this is a sideeffect of dapp selected network introduced in v12.
I don't consider this a release blocker either. It's not expected for a previous transaction to disappear. But I consider the flow an edge case with no risk of funds loss.
First confirmation request disappears. It looks like we don't switch network when toggling between dapps, but we do switch when a confirmation request comes in.
Describe the bug
When creating but not confirming a manual send on Network A, then switching to another tab that was last connected to Network B and doing a dapp-submitted transaction, the original confirmation for the Send "disappears".
Expected behavior
To be determined....
Screenshots/Recordings
https://github.com/MetaMask/metamask-extension/assets/46655/ede498a2-354f-4583-9ee7-7419eb4af80c
Steps to reproduce
Error messages or log output
No response
Version
develop
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response