Closed Bug 1189548 Opened 5 years ago Closed 5 years ago

Pasting text highlights all of URL bar text

Categories

(Firefox for iOS :: Browser, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: bnicholson, Assigned: bnicholson)

Details

Attachments

(1 file)

STR:
1) Tap URL bar.
2) Paste "yah".

You should see yah[oo.com/], where only the completion is highlighted. Instead, we see [yahoo.com/].
Status: NEW → ASSIGNED
(In reply to Brian Nicholson (:bnicholson) from comment #0)
> STR:
> 1) Tap URL bar.
> 2) Paste "yah".

Sorry, step 1 should have been "Long press URL bar". This happens when using the URL bar context menu, not the UITextField Paste.
The fix looks fine but DomainAutocompleteTests and testURLBarContextMenu in SearchTests still fail for me.
(In reply to Emily Toop (:fluffyemily) from comment #3)
> The fix looks fine but DomainAutocompleteTests and testURLBarContextMenu in
> SearchTests still fail for me.

I ran the tests on iPhone 6, 6 Plus and 5S
Those should be fixed in bug 1189127; can you try with that PR applied?
Flags: needinfo?(etoop)
Bug 1189127 landed, and I rebased the PR. Everything should be working now with this last fix.
Flags: needinfo?(etoop)
Attachment #8641352 - Flags: review?(etoop) → review+
https://github.com/mozilla/firefox-ios/commit/5990e31f582c5f8b97248f082a1d674135f5f65b
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.