Closed
Bug 611736
Opened 14 years ago
Closed 14 years ago
Long-tap in textbox causes a click, which changes selection
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(fennec2.0+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0+ | --- |
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
(Keywords: polish)
Attachments
(1 file, 1 obsolete file)
1.91 KB,
patch
|
stechz
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce: 1. Select some text in a chrome textbox. 2. Long-tap on the textbox to bring up the context menu. Expected results: Selection doesn't change. Actual results: Depending on where you touch and how much you move your finger, the long tap may generate a click event which changes the selection or cursor location.
Updated•14 years ago
|
Assignee: nobody → mbrubeck
tracking-fennec: ? → 2.0+
Assignee | ||
Comment 1•14 years ago
|
||
This patch fixes the problem by calling preventDefault on the mouseup event at the end of a long tap.
Attachment #491398 -
Flags: review?(mark.finkle)
Attachment #491398 -
Flags: review?(ben)
Comment 2•14 years ago
|
||
Comment on attachment 491398 [details] [diff] [review] patch Wrong patch?
Assignee | ||
Comment 3•14 years ago
|
||
wrong patch
Attachment #491398 -
Attachment is obsolete: true
Attachment #491527 -
Flags: review?(mark.finkle)
Attachment #491527 -
Flags: review?(ben)
Attachment #491398 -
Flags: review?(mark.finkle)
Attachment #491398 -
Flags: review?(ben)
Comment 4•14 years ago
|
||
Comment on attachment 491527 [details] [diff] [review] patch I'm having deja vu: http://hg.mozilla.org/releases/mobile-1.1/file/b28b396278b1/chrome/content/InputHandler.js#l234
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #4) > I'm having deja vu: > > http://hg.mozilla.org/releases/mobile-1.1/file/b28b396278b1/chrome/content/InputHandler.js#l234 Yeah, I tried using the existing "click" suppression code, but it didn't work - we specifically need to suppress "mouseup" in this case.
Comment 6•14 years ago
|
||
Comment on attachment 491527 [details] [diff] [review] patch Not a big fan honestly, but I can't think of anything better.
Attachment #491527 -
Flags: review?(ben) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #491527 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 7•14 years ago
|
||
http://hg.mozilla.org/mobile-browser/rev/2206af2c2452
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Flags: in-litmus+
Comment 8•13 years ago
|
||
Verified fixed, using: Mozilla/5.0 (Maemo; Linux armv7l; rv:2.0b13pre) Gecko/20110314 Firefox/4.0b13pre Fennec/4.0b6pre and: Mozilla/5.0 (Android; Linux armv7l; rv:2.0b13pre) Gecko/20110314 Firefox/4.0b13pre Fennec/4.0b6pre I've verified this, using the textbox in the Error Console.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•