nsIClipboard::HasDataMatchingFlavors() gets called too many times

VERIFIED FIXED in M16

Status

()

Core
Editor
P3
normal
VERIFIED FIXED
18 years ago
17 years ago

People

(Reporter: Stuart Parmenter, Assigned: Stuart Parmenter)

Tracking

({perf})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

18 years ago
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.

Comment 1

18 years ago
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

Comment 2

18 years ago
This is command enableing happening, I think. We need to be smarter about when we 
update cmd_paste.
Status: NEW → ASSIGNED

Comment 3

18 years ago
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
(Assignee)

Comment 4

18 years ago
fixed
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 5

18 years ago
code level fix...marking verified...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.