Open Bug 1119563 Opened 10 years ago Updated 2 years ago

Disable print menu items for documents that cannot be printed

Categories

(Toolkit :: Printing, defect)

x86
All
defect

Tracking

()

People

(Reporter: mconley, Unassigned)

References

Details

XUL documents are known to not be printable. Unfortunately, by the time we detect a XUL document and error out, a lot of printing machinery has gotten going, and we do silly things like showing a progress dialog. We shouldn't even let the user get that far. We should expose some kind of API to determine whether or not a document is printable, and if not, we should disable the print and print preview commands.
Blocks: 1144751
Flags: firefox-backlog?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.