Open Bug 1911934 Opened 9 months ago Updated 9 months ago

Custom paper sizes don't show up in Paper size list on print screen

Categories

(Core :: Print Preview, defect)

Firefox 128
Unspecified
macOS
defect

Tracking

()

People

(Reporter: 0byldz, Unassigned)

Details

Attachments

(1 file)

Attached file Screenshots

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0

Steps to reproduce:

I tried to print a label with my brother QL-820NWBc label printer on my mac os 13 but I couldn't find the required paper size in the Paper size list on print screen. I created a custom one from system's print screen. I restarted Firefox to refresh it. I still couldn't find the newly created paper size in the list.

Actual results:

Paper size list in print screen doesn't show custom paper sizes. Moreover, the existing paper size names are a bit malformed. I attached a pdf file that contains two screenshots. One is from Firefox and the other from Brave browser. You can see the newly added custom paper size with a name that starts with "FOFOG". I also added two more screenshots to show how I created the custom paper size from system's print screen.

Expected results:

Custom paper sizes should have appered in the paper size list in the print scree. In addition, print size names can be formatted better.

Component: Untriaged → Print Preview
Product: Firefox → Core

Yeah, I tried this with my normal desktop printer: I set up a custom paper size via the macOS system print dialog, and it doesn't appear in the Firefox preview list of paper sizes. Emily, do you know if there's something about how we're querying the available sizes that would make us miss any user-created custom sizes?

(A workaround would be to use the Print using the system dialog... link at the bottom of the Firefox preview panel, but obviously this is a bit clumsy.)

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(emcdonough)
OS: Unspecified → macOS

My initial guess would be that the custom size might not be expressed in CUPS, but (presuming this is OS X based on the UA string) in the PrintManager's data. We gather all info through CUPS only. Probably worth investigating what the results are from both PM and CUPS for custom paper sizes.
The only real difference between "normal" paper sizes and everything else in the print dialog is that we replace the names of PWG standard paper sizes with standard names.

Flags: needinfo?(emcdonough)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: