Closed
Bug 175828
Opened 22 years ago
Closed 22 years ago
PS should only be initialized once
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
INVALID
mozilla1.2beta
People
(Reporter: rods, Assigned: rods)
Details
Attachments
(1 file, 2 obsolete files)
13.58 KB,
patch
|
Details | Diff | Splinter Review |
The PrintSettings should only be initialized one time for each printer name.
This means once the PS has been intialized from Prefs and from the Printer it
shouldn't be re-initialized again for the printer.
If the printer name in the PS changes then if should be once again initialized
from both Prefs and from the Printer.
Assignee | ||
Comment 1•22 years ago
|
||
This is important because at the moment PrintPreview isn't working correctly.
This is a regression fro a check in to the Page Setup Dialog a while back.
Severity: normal → major
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
Assignee | ||
Comment 2•22 years ago
|
||
This patch has the PrintSettings cache the name of the printer it was
initialized with. That way it only initializes once for the printer. If the
name changes then it will get re-initialized from the new printer.
Assignee | ||
Comment 3•22 years ago
|
||
same as above just a minor change
Attachment #103599 -
Attachment is obsolete: true
Assignee | ||
Comment 4•22 years ago
|
||
Better patch.
This patch adds two bools to the PrintSettings and then when the PS gets
initialized from Prefs or from the Printer they get set. They get unset when
the printer name changes.
This is all necessary because the Page Setup Dialog calls
initPrintSettingsFromPrinter each time it is shown. So if you have set values
they will get "written" over the next time the dialog is shown.
Attachment #103602 -
Attachment is obsolete: true
Assignee | ||
Comment 5•22 years ago
|
||
This patch has been incorporated into Bug 167894
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•