Closed Bug 245483 Opened 20 years ago Closed 20 years ago

Hook up print preview support

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird0.7

People

(Reporter: edgrale, Assigned: mscott)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040601 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040601 Firefox/0.8.0+

Mozilla Thunderbird version 0.6+ (20040603) branch build.

Print preview toolbar is missing.

Reproducible: Always
Steps to Reproduce:
1. Click on a message
2. Choose print preview
3. Toolbar is missing



Expected Results:  
Shown the toolbar with print, close, zoom and so on.

Reported here first http://forums.mozillazine.org/viewtopic.php?p=557921#557921
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Thunderbird0.7
the print preview window is failing to find the binding for the preview toolbar.

We need to add the following CSS blurb to a CSS file that gets loaded into the
print preview window.

toolbar[printpreview="true"] {
  -moz-binding:
url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
}
Turns out we were never hooked up to use the toolkit print preview code. This
patch attempts to address that fact. I'm sure testing will turn up more issues
with the print preview toolbar in mail. The biggest problem I had was some
browser specific code in PrintUtils.js that I had to ifdef around. 

I also removed content/communicator.css which we don't need anymore.
Summary: Print preview toolbar is missing → Hook up print preview support
fixed on the branch and the trunk. Hopefully most of it works too :)

This new feature will need some testing help. 
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Just FYI, I don't think we need it on the Mac (since the Mac has it's own
print-preview function in the printer options).

Not sure if this is enabled on the Mac..  I'm at my PC laptop right now about to
head out.
*** Bug 246497 has been marked as a duplicate of this bug. ***
WFM in today's build.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: