The search field's clear (x) button responds to a mouseup by clearing the field even if the mousedown was not inside the button. This is especially frustrating when dragging to select or scroll past the right edge of the visible text and then releasing the mouse over the close button.
Created attachment 12945 [details]
Make the cancel button capturing
Includes test and change log
Landed in r19411.