Closed Bug 149663 Opened 23 years ago Closed 19 years ago

Mozilla does not honor Page Setup defaults in prefs.js or user.js

Categories

(Core :: Printing: Output, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: jwbodnar, Unassigned)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 BuildID: 2002053012 Mozilla 1.0 does not honor the Page Setup default options that can be set in prefs.js or user.js. These are: print.print_footercenter print.print_footerleft print.print_footerright print.print_headercenter print.print_headerleft print.print_headerright I believe this is related to Bug ID 122798. Reproducible: Always Steps to Reproduce: Add the appropriate lines to prefs.js or user.js. The lines below should result in no printed headers or footers. user_pref("print.print_footercenter", ""); user_pref("print.print_footerleft", ""); user_pref("print.print_footerright", ""); user_pref("print.print_headercenter", ""); user_pref("print.print_headerleft", ""); user_pref("print.print_headerright", ""); Actual Results: Although these lines remain in prefs.js or user.js between Mozilla sessions, the Page Setup dialog box always displays the standard Mozilla defaults. Expected Results: Use the settings specified by the various print.print_ options. N/A
This WFM for header/footer on: Mozilla 1.1 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 but I can confirm this for print margins and for the rest there is unfortunately no possibility to save it anyway.
Are these prefs even still there?
> Are these prefs even still there? I think so. I'm running one of the 1.5 nightly builds at home, and my Page Setup options for headers and footers show "Other" and print with the blanks as shown below: user_pref("print.print_footercenter", ""); user_pref("print.print_footerleft", ""); user_pref("print.print_footerright", ""); user_pref("print.print_headercenter", ""); user_pref("print.print_headerleft", ""); user_pref("print.print_headerright", ""); What I'm not totally certain about now is if it consistently honors these. I've printed things a couple of times that did come out with the default Mozilla headers and footers, but I would need to try this a few times to make sure.
Assignee: rods → printing
QA Contact: sujay
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
This bug is still present in Thunderbird 8 ! I think it should be reopened.
Okay, I've done some "research" and found out that this bug doesn't exist in Firefox 8.0. So, I fired up the about:config panel in Firefox 8.0 and found out that there are several properties for printing settings : print.print_footercenter print.print_footerleft print.print_footerright print.print_headercenter print.print_headerleft print.print_headerright But also these ones : print_footercenter print_footerleft print_footerright print_headercenter print_headerleft print_headerright And, guess what... Firefox ignores ones that are prefixed by "printing." So, I started Thunderbird 8.0, went to the about:config panel and *added* manually (because they didn't exist) the following properties : print_footercenter print_footerleft print_footerright print_headercenter print_headerleft print_headerright And it works well. So the solution might be very easy : remove the old properties that aren't used anymore, and create the new ones if they don't exist :)
You need to log in before you can comment on or make changes to this bug.