Closed Bug 1660589 Opened 5 months ago Closed 5 months ago

Localize paper names only on macOS, and not on Linux.

Categories

(Core :: Printing: Setup, defect, P1)

Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

(Blocks 1 open bug)

Details

(Whiteboard: [print2020_v81])

Attachments

(1 file)

Bug 1655558 Added functionality to retrieve paper sizes on CUPS printers.

It was the intent that CUPS-based printers on macOS would localize the paper names, and that CUPS printers on Linux would still with PWG standardized names to match how the names have been displayed on those systems historically.

The current code is localizing names on both systems.

https://searchfox.org/mozilla-central/rev/73e4e809df771baeb61635b25f53dfb44e930904/widget/nsPrinterCUPS.cpp#162-163

This patch will ensure that paper names are localized only on macOS, and not on Linux.

Blocks: 1651112
Whiteboard: [print2020_v81]

Paper names should be localized on macOS, but on linux we want to use
the PWG standardized media name.

Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/189c5843356f
Localize paper names only on macOS and not Linux r=jwatt
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.