ENDER-LITE, typing in subject line of mail causes entire page to repaint

VERIFIED FIXED in M17

Status

()

P1
blocker
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: mjudge, Assigned: hyatt)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [nsbeta2+] Tree bug)

Attachments

(1 attachment)

(Reporter)

Description

19 years ago
this leads to typing being VERY slow in subject line of mail. this is NOT 
limited to this example however. i will add an attachment with another example.
please mark this beta2 blocker since i cannot turn on ender-lite until this is 
fixed. and the later i turn it on the less chance to catch any other problems.

blocking bug#34896
(Reporter)

Comment 1

19 years ago
Created attachment 9482 [details]
test case of alot of text areas/input fields
(Reporter)

Comment 2

19 years ago
this is only with the ENDER_LITE flag turned on.
Summary: typing in subject line of mail causes entire page to repaint → ENDER-LITE, typing in subject line of mail causes entire page to repaint

Comment 3

19 years ago
will look at right away
Keywords: nsbeta2
Priority: P3 → P1
Target Milestone: --- → M17

Comment 4

19 years ago
Putting on [nsbeta2+] radar for beta2 fix. 
Whiteboard: [nsbeta2+]

Comment 5

19 years ago
cc'ing hyatt and eric.

Initial investigation:
1. I set a breakpoint in nsViewManager2::UpdateView(). Disable it for now.
2. Open a mail compose window, type a character in the subject (just to seed the 
text field, this is just a convenience.)
3. Enable the breakpoint.
4. Type a second character.
5. The core layout code does it's normal 2 invalidates:  one for the text frame 
and one for the block containing the text frame.  These are limited to the size 
of the text control.
6. I then see about 50 more invalidate calls of all sizes, some very large 
(probably the whole window) all generated by box layout.  I don't think core 
layout is doing anything to cause this to happen.
7. By contrast, when you type in the body of the message, you only get two 
invalidates, both as described above, limited to the size of the line you're 
typing on.

Comment 6

19 years ago
based on email from eric, assigning to him
Assignee: buster → evaughan

Comment 7

19 years ago
I have fixed typing in ender everywhere but 2 places. It still doesn't 
completely work when typing in the subject line because of some weird stuff 
trees are doing. But I'm assuming this will be fixed with the table on grid fix 
hyatt is doing. The other case of flashing in HTML is being resubmited as a 
different bug by mjudge.
Assignee: evaughan → hyatt
Whiteboard: [nsbeta2+] → [nsbeta2+] Tree bug

Comment 8

19 years ago
Dave, can you confirm Eric's assumption?
(Assignee)

Comment 9

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

Comment 10

19 years ago
Using the test case supplied, I was able to type at real time in the various text 
field. Slow performance was not a issue for me. Marking verified fixed in the 
June 26th builds.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.