Closed Bug 1663124 Opened 1 year ago Closed 1 year ago

Canceling the System dialog closes the new print UI

Categories

(Toolkit :: Printing, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox81 --- disabled
firefox82 --- fixed

People

(Reporter: emilghitta, Unassigned)

References

(Blocks 2 open bugs, Regression)

Details

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

Attachments

(1 file)

Attached image SystemModal.gif

Affected versions

  • 82.0a1 (BuildId:20200903151816)
  • 81.0b6 (BuildId:20200903205131)

Affected platforms

  • Windows 10 64bit
  • Ubuntu 18.04 64bit
  • macOS 10.14

Steps to reproduce

  1. Launch Firefox.
  2. Access any webpage.
  3. Hit Ctrl + P
  4. Select any destination.
  5. Click the “Print using the system dialog” option.
  6. Close the system dialog by clicking Cancel.

Expected result

  • The UI remains intractable and displayed since the print action was canceled by the user.

Actual result

  • The new print UI closes.

Regression Window

Additional Information

  • For further information regarding this issue please observe the attached screencast.
  • [Suggested Severity] S3

Hi Emma!

From the generated Pushlog, I think that Bug 1659624 may have caused this regression.

Can you please take a look?

Thank you!

Flags: needinfo?(emalysz)
Priority: -- → P3
Has Regression Range: --- → yes
Has STR: --- → yes

Yeah, an explicit window.close() was added in https://phabricator.services.mozilla.com/D89198 where mstriemer said "We should likely close if the system dialog is cancelled to avoid any weird issues for now". I don't expect there should be any issues though. Mark, what did you have on your mind there?

Flags: needinfo?(mstriemer)
Priority: P3 → P2

We plan on closing the print UI when they choose to print using the system dialog (1660665), so once I have a patch up for that, this shouldn't be a problem. If we do think it makes sense to avoid closing the window for the time being, I can get a patch up to fix that

Flags: needinfo?(emalysz)

We were having issues before the form was being disabled where I believe once you cancelled the system dialog or cancelled the Microsoft Print to PDF filename picker subsequent clicks on the Print button would open the system dialog.

Initially our plan was the close the dialog when the Print or Open system dialog... inputs were clicked, but we kept the dialog around to avoid closing the preview browser before it was accessed by the platform code.

Flags: needinfo?(mstriemer)
Whiteboard: [print2020_v81] [old-ui-] → [print2020_v82][old-ui-]
Severity: -- → S4
Depends on: 1660665

Now bug 1660665 has landed the tab modal UI is closed when you open the system dialog. So this is kinda WORKSFORME/INVALID now.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.