Closed Bug 36632 Opened 24 years ago Closed 24 years ago

nsIClipboard::HasDataMatchingFlavors() gets called too many times

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: pavlov, Assigned: pavlov)

Details

(Keywords: perf)

nsIClipboard::HasDataMatchingFlavors() gets called too many times from editor. 
When I begin typeing in a text field or in composer, it will call it numerous
times.  I could see it asking once, but it gets called quite a few times.  It
would be nice to reduce the number of calls to this function.
reassign to sfraser for initial triage; setting to M16 and perf keyword (though 
it may be pushed off to M17)
Assignee: beppe → sfraser
Keywords: perf
Target Milestone: --- → M16
This is command enableing happening, I think. We need to be smarter about when we 
update cmd_paste.
Status: NEW → ASSIGNED
I disagree that HasDataMatchingFlavors() is being called too often. When clicking 
in a text widget, it gets called once in response to the focus change, and once 
when you start typing. It is not called continually when typing.

Back to you, pav.
Assignee: sfraser → pavlov
Status: ASSIGNED → NEW
fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
code level fix...marking verified...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.