Don't canonize url immediately after a paste
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox84 | --- | fixed |
People
(Reporter: mak, Assigned: daisuke)
References
(Regressed 1 open bug)
Details
(Keywords: papercut, parity-chrome)
Attachments
(1 file)
I've seen various reports of users pressing Enter after a CTRL+V, while they still keep CTRL pressed. This causes us to canonize the word (adding www. and .com to it) and we end up visiting a non-existing page instead of searching for the pasted word.
To prevent this, we could skip canonization if it happens at a short time after a paste.
Comment 1•9 months ago
|
||
How short? This really feels like mystery meat navigation - software really shouldn't do magical behaviors that result in inconsistent behaviors with the same user actions.
| Reporter | ||
Comment 2•9 months ago
|
||
(In reply to Asif Youssuff from comment #1)
How short? This really feels like mystery meat navigation - software really shouldn't do magical behaviors that result in inconsistent behaviors with the same user actions.
In general I agree, but I've seen quite a few reports, so it's clear this is an annoyance for users, and canonization is a completely undiscoverable feature, so it's hard for the user to understand what's up.
We could probably check for a CTRL keyup after CTRL+V, if it didn't happen and Enter is pressed before 100ms elapsed, assume the user meant to search. CTRL+V and then CTRL+Enter would still canonize reliably. CTRL+V+Enter not.
| Reporter | ||
Comment 3•9 months ago
|
||
interestingly enough, also Chrome has canonization, what they seem to do is just to check for a ctrl keyup, so we could just do the same and be consistent with them.
| Reporter | ||
Updated•8 months ago
|
| Reporter | ||
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 4•7 months ago
|
||
| Assignee | ||
Updated•7 months ago
|
Updated•7 months ago
|
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4c449cde60a7 Avoid urlbar search string canonization if ctrl key comes from a previous action. r=mak
Comment 7•7 months ago
|
||
| bugherder | ||
Description
•