Repository navigation
Conversation
sneurlax
marked this pull request as draft
November 13, 2026 22:50
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## staging #1517 +/- ##
===========================================
+ Coverage 16.11% 16.41% +0.29%
===========================================
Files 1145 1145
Lines 114390 114417 +27
===========================================
+ Hits 18429 18776 +347
+ Misses 95961 95641 -320 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The send field parses its text as a payment URI as soon as it contains a colon. "http:" parsed as a URI with an empty address, so typing an Epic Cash HTTP listener address cleared the field at the colon and left "//host:port", which failed validation. Only pasting the whole URL worked. Treat http and https URLs as addresses, not payment URIs.
The send views added a listener to the address controller inside build() for Epic Cash (and, on desktop, MWC) that reassigned the controller text on every change. Listeners piled up with each rebuild, and resetting the text dropped the selection, so on Android only the first character of a typed address survived; pasting still worked. Strip the relay address prefixes in the field's onChanged instead, and only rewrite the field when that changes the text.
The address field's onChanged strips http(s)://, mailto: and the trailing slash from an Epicbox or MWCMQS address, but onChanged only runs for typed input. Since the build-time controller listener was removed, an address set from a scanned QR code or from a payment URI kept its prefixes. Run the scanned text and the URI address through the same stripping before the address and the field are set, in the mobile send view for Epic Cash and in the desktop send view for Epic Cash and MWC.
Text with a colon that is not a payment URI went through the path that writes the address back into the field, which moved the cursor to the end on every keystroke. The text is already in the field at that point, so only the state is updated now.
sneurlax
force-pushed
the
fix/mimblewimble-address-entry
branch
from
November 17, 2026 19:53
7b0d0b9 to
7f130ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Split from #1507 because the address-entry behavior affects shared send screens.
Verification
Latest staging refresh (2026-11-17)
Rebased exactly onto
staging1d319093efe5; patch equivalence was confirmed withrange-diff. New head:7f130ac3fa9d. Focused verification: 42 tests passed. The GitHub Actions Test workflow completed green on the exact refreshed head, including the full Flutter test job, Linux release bundle, and Windows build-script checks.