Closed Bug 1682827 Opened 3 years ago Closed 3 years ago

Incomplete page ranges can be introduced in the new Print modal

Categories

(Toolkit :: Printing, defect)

Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox85 --- affected
firefox86 --- affected

People

(Reporter: vlucaci, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: regressionwindow-wanted, Whiteboard: [print2020_v86] [old-ui-] )

Attachments

(1 file)

Attached image negative values.JPG

Affected versions

  • 85.0b2(20201215185920)
  • 86.0a1(20201215213427)

Affected platforms

  • Win10x64
  • Ubuntu 18.04x64
  • macOS 10.15.7

Steps to reproduce

  1. Launch FF.
  2. Go to any random long page.
  3. Press CTRL+P(new modal)
  4. Go to Pages and select Custom.
  5. Input the following value: 1-3,-4,5-6,-7
  6. Print

Expected result

  • Ranges introduced should be valid.

Actual result

  • Values can be set as negative/incomplete.

Suggested Severity

  • Since this issue does only print the page number within the corrupted string (eg: -8) and is just an UI problem, I would still consider it an S3, since it does also happen on every OS.

Regression range

  • I tried to search for a regression since custom range was introduced but was met with this error (attachment provided)

Additional notes

Summary: Incomplete page ranges can be introduced in the nee Print modal → Incomplete page ranges can be introduced in the new Print modal
Blocks: 133787, 1658287
Whiteboard: [print2020_v86] [old-ui-]
Has Regression Range: --- → no
Has STR: --- → yes
QA Whiteboard: [qa-regression-triage]
Component: Printing: Setup → Printing
Product: Core → Toolkit

This is the intended behavior for the custom page range and matches Chrome/Edge behavior.

I'm going to close this bug, unless Aaron feels strongly about changing this behavior.

For clarity:
If no number proceeds the dash, we print page 1 to the number specified after the dash. (i.e. "-2" will print pages 1, 2)
If no number follows the dash, we print pages from the number specified before the dash to the final page (i.e. with a 3 page document, "2-" will print pages 2,3)
If no numbers surround the dash, we will print all the pages.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(abenson)
Resolution: --- → WORKSFORME

Moving things to 88, cause we're mostly on Proton these days…

Whiteboard: [print2020_v86] [old-ui-] → [print2020_v88] [old-ui-]
Whiteboard: [print2020_v88] [old-ui-] → [print2020_v86] [old-ui-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: