Closed Bug 1664017 Opened 4 years ago Closed 4 years ago

Paper size dropdown shows paper sizes with symbolic (lowercase-and-underscores) names on Linux

Categories

(Toolkit :: Printing, defect, P4)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1662538
Tracking Status
firefox82 --- fixed

People

(Reporter: dholbert, Unassigned)

References

()

Details

(Whiteboard: [print2020_v83])

Attachments

(2 files)

STR:

  1. Start a print operation.
  2. Click "More Settings" and open the "Paper Size" dropdown.

EXPECTED RESULTS:
The sizes should be shown with human-readable names like US Letter.

ACTUAL RESULTS:
The sizes are shown with symbolic-looking names, like na_letter_8.5x11in and iso_dl_110x220mm_borderless

Screenshot:
https://bug1664009.bmoattachments.org/attachment.cgi?id=9174745

I'm using Nightly 82.0a1 (2020-09-09) (64-bit) on Linux. Note that this is an issue for all of the printer options, including the built-in "Save to PDF" -- the paper-size options for that one have names like "iso_a4" and "jis_b4" and "na_letter"

Whiteboard: [print2020]
Blocks: 133787
Whiteboard: [print2020] → [print2020_v83]

Mark (or someone else working on the printing frontend), would you mind setting severity/priority here? Thanks!

Flags: needinfo?(mstriemer)
Summary: Paper size dropdown shows paper sizes with symbolic (lowercase-and-underscores) names → Paper size dropdown shows paper sizes with symbolic (lowercase-and-underscores) names on Linux

FWIW, I see some of these on macOS as well... Most of them are readable, but I've got a media.custom_101.6... [elided, can't easily copy-paste] in there, too.

Attached image Screenshot printer 1
Attached image Screenshot printer 2

Here are some examples of the things I'm seeing show up in the paper size popup

Yeah, I see a similar item with my printer: along with all the "human-friendly" names, I get one called media.custom_8.5x13.5in_8.5x13.5in, which looks kinda weird. I suspect this corresponds to what is listed as "Oficio" in the system dialog, but that name must be getting provided via Core Printing or some such, not exposed by CUPS.

(I notice another difference, too: the CUPS-derived list I see in our print UI shows a size 4 x 6″, which is the localized name we get from CUPS; but in the system UI it's listed as Postcard 4x6. So it seems like macOS is providing its own paper-size names, not simply using what the CUPS APIs return.)

Regarding the names on Linux, the patches I have in progress for bug 1662538 should help.

See Also: → 1662538
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mstriemer)
Resolution: --- → DUPLICATE
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: