Closed Bug 1659340 Opened 5 years ago Closed 5 years ago

“Print preview” option is displayed inside the menu bar (File) even though the print preview will always open as the default option with the new print UI

Categories

(Toolkit :: Printing, enhancement, P1)

Firefox 81
enhancement

Tracking

()

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

People

(Reporter: emilghitta, Assigned: emmamalysz)

References

(Blocks 1 open bug)

Details

(Whiteboard: [print2020_v81])

Attachments

(1 file)

Affected versions

  • 81.0a1 (BuildId:20200815093117)

Affected platforms

  • Windows 10 64bit
  • Ubuntu 18.04 64bit.

Unaffected Platforms

  • macOS 10.14

Preconditions

  • Ensure that the print.tab_modal.enabled pref is set to true

Steps to reproduce

  1. Launch Firefox.
  2. Access a random page.
  3. Enable the menu bar.
  4. Open the “File” dropdown menu.

Expected result

  • The print preview option is no longer displayed while the print.tab_modal.enabled is set to true

Actual result

  • The print preview option is displayed.
Whiteboard: [print2020_v81]

Good catch! I know the front-end team has talked about this before, but we didn't seem to have a bug filed about it…

Severity: -- → S3
Priority: -- → P1
Has STR: --- → yes

If print.tab_modal.enabled is enabled, we should not display the print preview
menu item, as this will redirect us to the print preview automatically and thus
be redundant with the other print button.

Assignee: nobody → emalysz
Status: NEW → ASSIGNED
Attachment #9172047 - Attachment description: Bug 1659340, hide 'Print Preview' menu option if new print UI pref is enabled → Bug 1659340, hide menu options if new print UI pref is enabled
Pushed by abutkovits@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8513e2bba101 hide menu options if new print UI pref is enabled r=mstriemer
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Comment on attachment 9172047 [details]
Bug 1659340, hide menu options if new print UI pref is enabled

Beta/Release Uplift Approval Request

  • User impact if declined: A windows user will be shown incorrect menu items in the file menu. Both print and print preview will redirect them to the same thing
  • 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: 1. Open firefox on Windows
  1. Make sure print.tab_modal.enabled is on
  2. Navigate to menu bar
  3. Notice "Page Setup" and "print preview" items are now hidden
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): No strings
  • String changes made/needed: n/a
Attachment #9172047 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9172047 [details]
Bug 1659340, hide menu options if new print UI pref is enabled

Approved for 81.0b4.

Attachment #9172047 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

This issue is verified fixed using Firefox 82.0a1 (BuildId:20200831091558) and Firefox 81.0b4 (BuildId:20200829200810) on Windows 10 64bit & Ubuntu 20.04.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
OS: Windows 10 → All
Depends on: 1663436
No longer depends on: 1663436
Regressions: 1663436
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: