Closed Bug 58148 Opened 24 years ago Closed 22 years ago

filling in forms uses to much cpu

Categories

(Core :: Layout: Form Controls, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.0.1

People

(Reporter: ujuhh, Assigned: waterson)

References

Details

(Keywords: perf)

Attachments

(1 file)

when filling in this form whenever i type a key my cpu usage hits 100%
( i have 0% when i am not typing). and the text feed back is sluggy.
moving left and right through the typed text is quick, but adding or removing is
very slow.
On my 800MHz, typing in form fields eats 10% cpu. This is a little too much 
IMHO. Tested with 2000102905 trunk bits on Windows 2000.

Changing component to form controls.
Status: UNCONFIRMED → NEW
Component: Form Submission → HTML Form Controls
Ever confirmed: true
probably a dup - reassigning
Assignee: rods → beppe
This probably has something to do with the fact that the textareas and texfields
in bugzilla forms are in tables. We seem to be redrawing and maybe even
reflowing everything below the text widget you are typing in when it is in a table.

Buster should this go to you? Also, this may be a dup of a bug anthonyd was
looking at sometime last week.
I'll take a look.  I thought we fixed something similar already, maybe this is
just a case we missed.
Status: NEW → ASSIGNED
Keywords: perf
Priority: P3 → P2
Target Milestone: --- → mozilla0.9
Reassigning to buster@netscape.com while he investigates.
Assignee: beppe → buster
Status: ASSIGNED → NEW
The primary culprit here is a chunk of code that marks every line in a block
"dirty" in some circumstances, including incremental reflow within a text control.
I have a band-aid for text controls, and I'll submit another bug on what really
should be done.
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: PC → All
Kevin:  I just attached a patch that improves the problem we discussed earlier
today.  It helps the test case mentioned in this bug a lot, and should help
quite a bit with the similar problems you've seen that the patch for bug 47549
uncovered.
Blocks: 47549
taking
Assignee: buster → waterson
Status: ASSIGNED → NEW
End-of-milestone reality check.
Target Milestone: mozilla0.9 → mozilla0.9.1
Is there a test case? I'm not seeing any real CPU usage when typing into text
fields, and although the patch looks okay, I'd like to verify that it does
_something_....
Status: NEW → ASSIGNED
*** Bug 62549 has been marked as a duplicate of this bug. ***
Keywords: patch
I think that there may be a better (more general) approach to fixing this in bug 
43914. Let me poke at that for a bit, and if I can't make any headway, we'll 
check this bad boy in.
Depends on: 43914
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Target Milestone: mozilla0.9.2 → mozilla1.0
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
*** Bug 134653 has been marked as a duplicate of this bug. ***
QA Contact: vladimire → tpreston
This ought to be fixed with the changes from bug 135146.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Depends on: 135146
Resolution: --- → FIXED
Mass removing self from CC list.
Now I feel sumb because I have to add back. Sorry for the spam.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: