Closed Bug 1050095 Opened 8 years ago Closed 8 years ago
[Text Selection] Prevent generate too much unwanted event when calling Selection
Carets::Select Word .
Right now SelectWord will generate 4 selection change events with drag reason and 1 selection change event with mouse up reason. 4 drag events are useless and will cause some bug when showing utility bubble. So we need prevent those events be fired.
SetSelectionDragState will call StartBatchChanges()/EndBatchChanges so that only mouseup event would be fired.
Attachment #8469058 - Flags: review?(roc)
Attachment #8469058 - Flags: review?(roc) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.