Open Bug 1867687 Opened 2 years ago Updated 10 months ago

Restoring focus to toolbarbuttons when screenshots UI exits doesnt work

Categories

(Firefox :: Screenshots, defect, P2)

defect

Tracking

()

People

(Reporter: sfoster, Unassigned)

References

Details

In bug 1820015 we implement a "restore focus to previous element" function which attempts to put focus back where it was before you opened the screenshots UI. This was modeled from similar behavior in panel.js This works fine for some elements like <browser>, <tab>s, and the address bar. But does not work for any of the <toolbarbutton>s. Neither element.focus() or Services.focus.setFocus(element, FLAGS) result in the element receiving focus.

Severity: -- → S3
Priority: -- → P2
No longer blocks: 1820015
Depends on: 1820015
You need to log in before you can comment on or make changes to this bug.