Closed Bug 1125516 Opened 11 years ago Closed 11 years ago

Ensure Selection closed at start of attachCaret()

Categories

(Firefox for Android Graveyard :: Text Selection, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox38 fixed)

RESOLVED FIXED
Firefox 38
Tracking Status
firefox38 --- fixed

People

(Reporter: capella, Assigned: capella)

Details

Attachments

(1 file)

This is a followup we talked about back in bug 927882 comment #36 and bug 927882 comment #38 ... I wanted to wait until I could point to an actual issue caused by *not* doing the change. There's a slight timing issue that leaves listeners attached to a page after SelectionHandler closes, which is harmless due to event-handler state-checking, but wastes cycles. To trigger: 1) Long press into editable to startSelection, 2) tap into selection to attachCaret. In some cases where IME auto-correct kicks in, we wind up closing the new caret and leaving the previous selection listeners.
Attachment #8554178 - Flags: review?(wjohnston)
Review nag ping?
Attachment #8554178 - Flags: review?(wjohnston) → review+
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: