Set the print job name before initialization of the print session on macOS
Categories
(Core :: Printing: Setup, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
(Whiteboard: [print2020_v73])
Attachments
(1 file)
Assignee | ||
Comment 1•5 years ago
|
||
For a PMSession to be given a job name, the job name must be set on the
PMPrintSettings before it is passed to PMSessionBeginCGDocumentNoDialog.
However, since nsDeviceContext::BeginDocument calls PrintTarget::BeginPrinting
before calling nsDeviceContextSpec::BeginDocument, the setting of the job name
in nsDeviceContextSpecX::BeginDocument was happening after the
PMSessionBeginCGDocumentNoDialog call in PrintTargetCG::BeginPrinting, and was
doing us no good. This moves the job name setting into
PrintTargetCG::BeginPrinting so that the job name is set first.
Note: The job name is shown if your printer/OS has software to manage the list
of queued jobs waiting to print.
Comment 3•5 years ago
|
||
bugherder |
Comment 4•5 years ago
|
||
I believe this bug caused a regression at bug 1606512
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to fiveNinePlusR from comment #4)
I believe this bug caused a regression at bug 1606512
Thank you. (For future reference, using the "Request information from" field to attract the attention of the person that made the change is helpful. :) )
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Description
•