Closed
Bug 158782
Opened 23 years ago
Closed 23 years ago
Mozilla exhibits a lag in displaying typed text
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla1.2beta
People
(Reporter: moz-bugzilla, Assigned: kinmoz)
References
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1b) Gecko/20020722
BuildID: 2002072203
Mozilla 1.1b doesn't display characters as they are typed. Rather, there is a
lag between the time a character is typed vs. when it actually shows up on
screen. This is especially evident the faster you type.
Reproducible: Always
Steps to Reproduce:
Type in the URL bar or in any form text box.
Actual Results: There is a lag between typing and actually seeing the
characters typed.
Expected Results: There should be no noticeable lag.
*** This bug has been marked as a duplicate of 83205 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
I don't think this is a dup of 83205, but rather a side effect of fixing bug 141900.
Comment 3•23 years ago
|
||
Confirmed on WinXP trunk build 2002072104.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•23 years ago
|
||
*** Bug 160920 has been marked as a duplicate of this bug. ***
Comment 5•23 years ago
|
||
Reproduced in this `Additional Comments:' field right now, build 2002080503, Mac
OS 9.2.2, iMac DV 450 MHz, 64 MB RAM. --> All/All based on dup.
The delay is directly proportional to the amount of text following the caret
until the end of the paragraph.
- If there's no text following the caret, the display keeps up with my typing
fairly comfortably (though it would probably have trouble with extremely
fast typists).
- If there's one line of text (80 characters) to the right, and I type a
group of words at constant speed, the caret display keeps up, but the text
is never displayed (thanks to the fix for bug 141900) until I finish.
- If there are three lines of text (240 characters) between the caret and the
end of the paragraph, typing slows down so much that Mozilla forgets large
chunks of the characters I typed and it comes out in a complete jumble.
(Sample from my previous attempt at typing this: `Mozll culyforgetcers I
typed and it comes out in a complete jumble.') In this case, even the caret
movement can't keep up, and the text display never gets a chance.
Severity: normal → major
OS: MacOS X → All
Hardware: Macintosh → All
*** Bug 171693 has been marked as a duplicate of this bug. ***
Comment 7•23 years ago
|
||
*** Bug 165032 has been marked as a duplicate of this bug. ***
Comment 8•23 years ago
|
||
*** Bug 163367 has been marked as a duplicate of this bug. ***
Comment 9•23 years ago
|
||
Bug 163367 was about backspacing in the URL bar, instead of typing forward, but
the essentials are the same.
Is the event model flexible enough that we could synchronously paint the
character that was typed as we process the keyboard event, rather than
invalidating the area and waiting for painting to occur later? (Or clear the
area in the case of a backspace)? If we are invalidating/waiting, this may be
affected by event starvation.
Severity: major → normal
Depends on: 165130
Comment 10•23 years ago
|
||
As a note: when Mozilla is exhibiting this lag, my CPU usage goes up to nearly
100% while I'm typing but then returns to normal when I stop. (I'm not sure if
this was obvious from the comments so far)
I notice it mainly when composing an email message or reply to somebody.
I'm not sure if we have more than one bug at hand here....
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.2beta
Comment 11•23 years ago
|
||
*** Bug 172139 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 12•23 years ago
|
||
This bug has been temporarily fixed on the TRUNK with the checkin of attachment
101640 [details] [diff] [review] from bug 141900 during the mozilla1.2beta milestone. It basically
disables the code which landed as part of attachment 87307 [details] [diff] [review] (async reflow and
painting for text widgets) until all issues blocking bug 174823 can be resolved.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 13•23 years ago
|
||
*** Bug 174929 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
verifying fixed on 2002101708, Win2K.
Assignee | ||
Comment 15•23 years ago
|
||
*** Bug 152356 has been marked as a duplicate of this bug. ***
Comment 17•23 years ago
|
||
Comment 18•23 years ago
|
||
Aaargh... midair collisions.
I am still seeing some minor lags when typing a message in the send window
(plain text). It is not as bad as it was before this bug was fixed, but it is
still there.
CPU utilization is unusually high when I am typing. Each keypress causes a
spike in CPU utilization from 50-90%, with some going to 100% (which causes a
lag). I typed a string into Mozilla mail and into Notepad to compare the CPU
utilization, and the results were striking. I sent the wrong image; the first
one has only Mozilla Mail. There is almost no detectable change in CPU
utilization when typing into Notepad and letting it sit idle; in Mozilla, it is
very obvious. In the image, you can plainly see when typing began-- in about
the center of the graph. I'll send the proper attachment in a minute. Using
2002101708/WinXP SP1/ 900 MHz AMD Duron/ 320 mb RAM.
Comment 19•23 years ago
|
||
Attachment #103438 -
Attachment is obsolete: true
Comment 20•12 years ago
|
||
I am now noticing delayed typing with the new version of sea monkey. It happens in email and at the address bar.
You need to log in
before you can comment on or make changes to this bug.
Description
•