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)
(deleted),
text/x-phabricator-request
|
Details |
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•4 years 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•4 years 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•4 years 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•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
Description
•