Closed Bug 6989 Opened 25 years ago Closed 25 years ago

Multiple window drawing gets messed up

Categories

(Core :: Layout, defect, P1)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED DUPLICATE of bug 6678

People

(Reporter: sfraser_bugs, Assigned: dcone)

Details

With two or more windows open, it's easy to get into a state where window drawing is messed up -- parts of windows are not upadated properly, pixels draw in the wrong window, and other such weirdness. One way to get into this state is: 1. Run apprunner. Wait for browser window to come up. 2. Open an Editor window from the tasks window. 3. Click and type a few characters in the editor window. 4. Bring the browser window to the front, and move it around. Note now that parts of the editor window that were uncovered by moving the browser window don't always redraw properly. Those areas covered by the window frame, and the bottom toolbox of the browser window appear blank. My guess is that at some point the ports get screwed up, so we start invalidating and drawing into the wrong Mac port. Typing may precipitate this bad state by calling viewmgr->UpdateView() at unexpected times. See nsEditor::HACKForceRedraw(). But there is definately a GFX bug that causes the bad rendering.
Status: NEW → ASSIGNED
Priority: P3 → P1
Summary: Window drawing gets messed up → Multiple window drawing gets messed up
Target Milestone: M7
Probably a dup of #6678 but I'm not closing it yet.
pierre may be able to get to these before M7 ends but I also saw this... "I'm on vacation this week. I'll be back at the office Monday June 14th (weather permitting)." moving to m8 for now
I'm tempted to mark this a blocker, because it interferes with some editor selection stuff, and makes dialogs look really screwed up.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M8 → M7
Fix checked in for M7 on Wed 06/16 at 9pm. Four bugs were related to each other and fixed at the same time: 3455: [PP] mac/linux, dual toolbars appear after surfing. 6989: Multiple window drawing gets messed up. 6678: [PP]clipping/port problems in child dialogs. 5560: [PP] CornerView displays garbage.
Status: RESOLVED → VERIFIED
Fixed in June 17th Build (1999061708)
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Reopening. This is still a problem. To see it, run apprunner to get a browser window. Open an editor window with Tasks>Editor. Position the windows so that they overlap. Bring the browser window to the front. Now bring the editor window to the front. Note that portions of the editor window that were covered by the window frame and some parts of the content of the browser window are not refreshed correctly.
Assignee: pierre → dcone
Status: REOPENED → NEW
Target Milestone: M7
Cleared milestone and reassigned to Don Cone. The problem I fixed on 06/16 was related to offscreen drawing surfaces that were not erased (or reallocated) before being used. The current problem is probably different. You may want to check whether it happens on Windows too.
Chris, can you test this XP? Thanks.
Status: NEW → ASSIGNED
Kathy, this is the bug I was referring to earlier. Make sure that don knows that it's a blocker for you.
This seems like a duplicate of my bug (#6678 I think). I have marked my bug as a blocker because it is impossible to continue to do my work with this bug. Simon--which bug should we mark as a duplicate (do you have a preference)? If we keep this one, please maintain the [BLOCKER] status.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 6678 ***
Status: RESOLVED → VERIFIED
Agreed. This is a duplicate of 6678.
You need to log in before you can comment on or make changes to this bug.