Closed
Bug 20504
Opened 25 years ago
Closed 25 years ago
[DOGFOOD] Printing Crashes in the nsViewManager
Categories
(Core :: Web Painting, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: dcone, Assigned: beard)
References
Details
(Whiteboard: [PDT+])
Printing crashes in nsViewManager::ViewToWidget() The aWidgetView member is null,, and KABOOM..
Reporter | ||
Updated•25 years ago
|
Summary: [Dogfood] Printing Crashes in the nsViewManager → [DOGFOOD] Printing Crashes in the nsViewManager
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•25 years ago
|
||
Here's a patch to fix this. Please review and I'll check it in. This should fix the crash you may be seeing when printing. On the other hand, I see another crash when printing with GFX scrollbars turned on. Evidently the frame hierarchy isn't exactly what you're expecting it to be when GFX scrollbars are used. Index: mozilla/view/src/nsViewManager.cpp =================================================================== RCS file: /cvsroot/mozilla/view/src/nsViewManager.cpp,v retrieving revision 3.137 diff -b -r3.137 nsViewManager.cpp 2251d2250 < nsRect widgetRect = aRect; 2252a2252,2253 > if (widgetView != nsnull) { > nsRect widgetRect = aRect; 2259a2261 > }
Reporter | ||
Comment 4•25 years ago
|
||
This fix looks good...
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•25 years ago
|
||
Fixed per reporter. Verifying it so.
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•