Closed Bug 1663040 Opened 4 years ago Closed 4 years ago

Paper-size menu in the new print UI should be sorted by name

Categories

(Toolkit :: Printing, enhancement, P2)

enhancement

Tracking

()

VERIFIED FIXED
82 Branch
Tracking Status
firefox81 --- verified
firefox82 --- verified

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

(Whiteboard: [print2020_v81][old-ui-])

Attachments

(2 files)

The paper size menu in the tab-modal print UI lists available paper sizes in what looks at first like a random order; see attachment.

(I think it may not actually be random, but sorted by the length of the longer side? Or by total area of the paper? I haven't checked exact details.... the point is that it looks scrambled from a user's point of view.)

It would be much more user-friendly to sort by paper name, so that all the A-sizes appear together, all the B-sizes, all Envelope-* sizes, all "US ..." sizes, etc.

Type: defect → enhancement
Whiteboard: [print2020]
Severity: -- → S3
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Component: Printing: Setup → Printing
Product: Core → Toolkit
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8b988903df22
Sort available paper sizes by name for the menu in the print UI. r=jwatt

Comment on attachment 9174023 [details]
Bug 1663040 - Sort available paper sizes by name for the menu in the print UI. r=sfoster

Beta/Release Uplift Approval Request

  • User impact if declined: Paper sizes in the new printing UI appear in a confusing "random" order
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce:
    • Open the Print panel
    • Click on More Settings
    • Open the Paper Size menu and see if the list is sensibly ordered
      (Try with different printers selected, as the list is printer-specific)
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Just adding a .sort() call to order the paper list
  • String changes made/needed:
Attachment #9174023 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Priority: -- → P2
Whiteboard: [print2020] → [print2020_v81][old-ui-]
QA Whiteboard: [qa-triaged]

Comment on attachment 9174023 [details]
Bug 1663040 - Sort available paper sizes by name for the menu in the print UI. r=sfoster

Approved for 81.0b8.

Attachment #9174023 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Confirming this issue as verified fixed on macOS 10.15, Ubuntu 18.04 and Windows 10x64. Verified using 82.0a1 (2020-09-09) and 81.0b8.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: