Closed
Bug 1669732
Opened 4 years ago
Closed 4 years ago
Add error message for page copies
Categories
(Toolkit :: Printing, defect, P3)
Toolkit
Printing
Tracking
()
RESOLVED
FIXED
87 Branch
People
(Reporter: emilghitta, Assigned: emmamalysz)
References
(Depends on 1 open bug)
Details
(Whiteboard: [print2020_v88] [old-ui-] )
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Affected versions
- Firefox 83.0a1 (BuildId:20201007094223)
- Firefox 82.0b8 (BuildId:20201006142214)
Affected platforms
- Windows 10 64bit
- Ubuntu 18.04 64bit
- macOS 10.14
Steps to reproduce
- Launch Firefox.
- Access a random webpage.
- Open the print preview.
- Delete the value from the copies field.
- Input a high value for the copies field (above 1000 copies).
Expected result
- Step 4: The copies counter is highlighted in red and an error message is displayed stating that the user has to enter a value between 1 and 999.
- Step 5: The copies value input is limited to 999 copies & a value above that throws and error stating that the user is limited in entering a value between 1 and 999.
Actual result
- Step 4: The copies counter is highlighted in red but no visible error message is displayed for the user.
- Step 5: The value that can be entered inside the copies field is not limited to a certain value and it seems that (on Windows) it can overflow the variable at some point.
Regression Window
- I don’t think that this is a regression.
Additional Information
- I am pointing out 1 - 999 as the accepted value range after taking Chrome and Microsoft Edge’s accepted values as a reference.
Reporter | ||
Updated•4 years ago
|
Whiteboard: [print2020_v83]
Reporter | ||
Updated•4 years ago
|
No longer blocks: wdba-phase2
Comment 1•4 years ago
|
||
Putting in lots of 9s will also cause this to overflow and become invalid when it wraps around to negative.
Severity: -- → S3
Type: enhancement → defect
Priority: -- → P3
Whiteboard: [print2020_v83] → [print2020_v83][old-ui-]
Updated•4 years ago
|
Has STR: --- → yes
Updated•4 years ago
|
Whiteboard: [print2020_v83][old-ui-] → [print2020_v84][old-ui-]
Updated•4 years ago
|
Whiteboard: [print2020_v84][old-ui-] → [print2020_v85] [old-ui-]
Comment 2•4 years ago
|
||
(Moving bugs to 86, part 1.)
Whiteboard: [print2020_v85] [old-ui-] → [print2020_v86][old-ui-]
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → emalysz
Comment 3•4 years ago
|
||
Moving things to 88, cause we're mostly on Proton these days…
Whiteboard: [print2020_v86][old-ui-] → [print2020_v88] [old-ui-]
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
The counter limit was introduced in Bug 1682290, so for this bug, we only need to add an error message for invalid inputs
Summary: Add counter limit & error message for page copies → Add error message for page copies
Pushed by emalysz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7a68819b7e59
add error message for invalid number of copies r=mstriemer,fluent-reviewers
Assignee | ||
Updated•4 years ago
|
Status: NEW → ASSIGNED
Comment 7•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Updated•4 years ago
|
Flags: qe-verify+
Updated•4 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•