Closed Bug 1664500 Opened 4 years ago Closed 4 years ago

The Minimum label is not displayed as the selected margins option inside the new Print modal on Windows 7

Categories

(Toolkit :: Printing, defect)

Firefox 82
All
Windows 7
defect

Tracking

()

VERIFIED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- disabled
firefox82 --- verified

People

(Reporter: asoncutean, Assigned: emmamalysz)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [print2020_v82] [old-ui-])

Attachments

(2 files)

Attached image screencast issue.gif

Affected versions

  • 82.0a1

Affected platforms

  • Windows 7

Steps to reproduce

  1. Launch Firefox
  2. Make sure print.tab_modal.enabled is set on true
  3. Open any page
  4. Click on More settings
  5. Select Minimum option from Margins dropdown

Expected result

  • Minimum option is set, the print preview adjust accordingly, the label is displayed as Minimum

Actual result

  • Minimum option is set, the print preview adjust accordingly, but the label remains the Default one

Regression range

Additional notes

  • None is not affected by this behavior

Suggested severity

  • S4 since affects only Windows 7 and the functionality is not broken

This sounds like a duplicate of bug 1662699

Since the marges directly from the paper and the default settings margin can return slightly
different numbers (off by .0001), we need to round in order to correctly return the minimum
value and allow the user to switch from the default preset.

Assignee: nobody → emalysz
Status: NEW → ASSIGNED

(In reply to Emma Malysz from comment #2)

Since the marges directly from the paper and the default settings margin can return slightly
different numbers (off by .0001), we need to round in order to correctly return the minimum
value and allow the user to switch from the default preset.

Sounds like this may fix bug 1660520?

Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a98fd1750fe8
round margin values to ensure comparisons are made correctly r=sfoster
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Flags: qe-verify+

Confirming this issue no longer reproduces on Windows 7x64 using 82.0-build1, with the print.tab_modal.enabled pref set to true.

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: