Closed Bug 1661060 Opened 4 years ago Closed 4 years ago

Print dialog doesn't receive focus on tab-switch (so e.g. "esc" doesn't dismiss it, and "tab" doesn't cycle through its fields)

Categories

(Toolkit :: Printing, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1660951

People

(Reporter: dholbert, Unassigned)

Details

(Whiteboard: [print2020_v81])

STR:

  1. Enable the new print UI via print.tab_modal.enabled
  2. Open the print dialog for some page (Ctrl+P / Cmd+P)
  3. Switch tabs (Ctrl + PageUp)
  4. Switch back (Ctrl + PageDown)
  5. Press "Esc".

ACTUAL RESULTS:
Nothing happens.

EXPECTED RESULTS:
Print dialog should be dismissed.

(Note that we do successfully dismiss the dialog if I skip steps 3-4 -- i.e. if I don't switch tabs away & back.)

Similarly: if you use the "Tab" key in step 5 (instead of "Esc"), we tab through the browser toolbar UI (e.g. the location bar), rather than tabbing through the Print Dialog fields, which would be more useful. So: bottom line, the print dialog is not getting focus when we switch to a tab that has the print dialog up.

(I suspect this is similar across all the TabDialogBox users, so tagging in a few people…)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Whiteboard: [print2020] → [print2020_v81]
You need to log in before you can comment on or make changes to this bug.