Closed Bug 5758 Opened 25 years ago Closed 25 years ago

Editor redraws twice on each keypress

Categories

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

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: kinmoz)

Details

We redraw the entire page twice for each keydown when editing. This is caused by the HACKForceRedraw(), that was put in to fix an earlier problem. Because the new selection also causes redraw to happen, we redraw twice. The (simple) fix is to comment out the call to HACKForceRedraw() on InsertText().
sujay, Mac only?
Simon, this is Mac only? I can't tell if we're redrawing at a low level on the Win and Linux platforms...from a visible standpoint, I don't see redraw happening on the Win/Linux editors.
Hardware: Macintosh → All
This will be all. You just won't see it in the release builds.
Assignee: sfraser → kin
Kin's changes should have fixed this. Reassigning.
Status: NEW → ASSIGNED
Target Milestone: M7
Accepting bug, setting milestone to M7.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I turned off double buffering and see things only draw once. This should have been fixed when i removed all calls to HACKForceRedraw() in the editor. Marking bug fixed.
I don't think I can verify this one..Simon/Kin can you verify this one? and mark verified-fixed? thanks!
Simon/Kin when you get chance, please verify this one...mark verified-fixed also.thanks!
Status: RESOLVED → VERIFIED
marking bug verified.
You need to log in before you can comment on or make changes to this bug.