Page MenuHomePhabricator

contextmenu paste in searchfield leads search to null
Closed, ResolvedPublic

Description

When you copy something, then paste it by using the mouse and right clicking, choosing "paste", then search, 'null' is passed to the searchengine.


Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)#Vector_search

Details

Reference
bz23517

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:01 PM
bzimport set Reference to bz23517.

Proper action to reproduce, "right click, paste, press enter"

Found with Firefox 3.5.7 and Safari 4

conrad.irwin wrote:

Same with middle-click paste on Linux.

If you drag text into the search box, and click on search it searches fine (but the greyed out "Search" does not disappear because it is never focussed).

Tested in Firefox, Chrome and Opera.

amiller1 wrote:

This was fixed in either r23622 or r66565. Anyway, works now.

conrad.irwin wrote:

Dragging text into the box still doesn't work - but I guess no-one actually uses that method of interaction. Should I open a new bug?

amiller1 wrote:

(In reply to comment #6)

Dragging text into the box still doesn't work - but I guess no-one actually
uses that method of interaction. Should I open a new bug?

Added a drangend handler in r67258. This only works for mozilla, but I'm afraid thats the best we can do without polling for changes.