Closed Bug 141849 Opened 23 years ago Closed 23 years ago

After closing print preview window, selecting print doesn't open print dialog

Categories

(Core :: Print Preview, defect, P1)

PowerPC
macOS
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: chrispetersen, Assigned: ccarlen)

References

Details

Build: 2002-05-02-05 Platform: OS X 10.1.4 Expected Results: Selecting print should open print dialog What I got: Print dialog doesn't open Steps to reproduce: 1) Go to mozilla.org 2) Select Print Preview from File 3) Click Close button in preview window 4) Select Print from File menu 5) Print dialog doesn't open
Severity: normal → critical
Keywords: nsbeta1
Priority: -- → P1
My fault - I did the Mac work for that checkin. Looking at it as soon as my build finishes.
Assignee: rods → ccarlen
Found out why this happens and I don't think it's a new bug. http://lxr.mozilla.org/mozilla/source/content/base/src/nsDocumentViewer.cpp#6893 Reason it fails is that when printing *after* doing a print preview, mIsDoingPrintPreview will be FALSE. Notice that when it's FALSE, the value is never set to FALSE in the print settings (it was set to TRUE by the previous print preview) and this causes failure. This will be fixed by bug 115136 - not fixing before that.
Status: NEW → ASSIGNED
Depends on: 115136
This was fixed by bug 115136. Just checked with my post-checkin build.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
This is fixed on trunk (0S X 2002-05-20-08). Still a issue on branch (OS X 2002-05-22-11 1.0.0)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.