Closed Bug 1604752 Opened 4 years ago Closed 4 years ago

Port bug 1601708: Return focus to the previously active element when a subdialog closes

Categories

(Thunderbird :: Preferences, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 73.0

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file)

We can simply port this.

Port of https://hg.mozilla.org/mozilla-central/rev/63822634f6ffb878bd3aa64c1789b3452d178bee

To test, you can press in the prefs, when in "General", ALT+SHIFT+c to set the focus on the "Colors..." button. With ENTER the dialog opens. Close now the dialog. With the patch the focus is on the button again, without not.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9116667 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9116667 [details] [diff] [review]
1604752-prefs-subdialog-focus.patch

Review of attachment 9116667 [details] [diff] [review]:
-----------------------------------------------------------------

Thx Richard! r=mkmelin
Attachment #9116667 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → Thunderbird 73.0

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/164933b1df70
Port bug 1601708: Return focus to the previously active element when a subdialog closes. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: