Closed Bug 125940 Opened 23 years ago Closed 23 years ago

Can't scale to > 99% on consecutive print preview

Categories

(Core :: Print Preview, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: samir_bugzilla, Assigned: samir_bugzilla)

References

Details

Attachments

(1 file)

The print perview code API allows users to change print settings (including
scaling) and calling printPreview(in nsIPrintSettings settings) so that an
updated view of the document can be drawn to the screen.  If the scale went from
< 100% (e.g., 50%) to 100% then the previewed document won't redraw and the
scale won't take effect.  This is because of a < 1.0 check where there should be
a <= 1.0 check.  Have a patch that works.
rods, please r.
dveditz, please sr.
Status: NEW → ASSIGNED
Keywords: patch, review
Priority: -- → P3
Target Milestone: --- → mozilla0.9.9
Comment on attachment 69892 [details] [diff] [review]
Change condition from just < to <=.

sr=dveditz
Attachment #69892 - Flags: superreview+
Blocks: 111235
Reviewed under patch for bug 111235 as well.  Checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: