Closed Bug 1638563 Opened 4 years ago Closed 4 years ago

Standard Windows keys do not press button in About dialog

Categories

(Thunderbird :: Mail Window Front End, defect)

Unspecified
Windows
defect

Tracking

(thunderbird_esr78 fixed, thunderbird79 fixed)

VERIFIED FIXED
Thunderbird 80.0
Tracking Status
thunderbird_esr78 --- fixed
thunderbird79 --- fixed

People

(Reporter: psnmbox, Assigned: Paenglab)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Open "About Daily" dialog
It would check for updates and show either "Update..." or "Restart.." button if an update was found.

Actual results:

Focused button ignores Space and Enter keys.
Mouse click and Alt+hot letter key do work.

This behaviour appeared several versions ago; and similar issues were fixed previously.

Expected results:

Standard Windows keys should press the button.

psn, thanks for the report.
I confirm this happens on Windows - both version 68 and 78. Works in Firefox.
I don't know how this is supposed to behave on Mac

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(richard.marti)
OS: Unspecified → Windows
Component: Untriaged → Mail Window Front End

I compared the FX and TB aboutDialog files and can't find why they behave differently.

Flags: needinfo?(richard.marti)

Had today an update on Daily. The difference is, that the buttons aren't focused initially. With two tabs the button is focused and space and enter keys are working.

Indeed, after two tabs I could use space key to begin the update.
But there was more.
The button changed to "Restart..." on download completion, and then space key was pressed again, the TB did not restart, but tried to download again, though the progress counter remained at zero.
Pressing sequece of keys "Esc - Alt+H - A" re-opened the dialog, and this time the space key (after two tabs) could restart the TB. Sometimes Firefox also attempted to repeat downloading when "Restart..." button was pressed.

This should fix the issue by setting the focus to the button. The option enables the focusing here: https://searchfox.org/comm-central/rev/a740e4921d0ccedc5ad1bf0496a337aac3136406/mail/base/content/aboutDialog-appUpdater.js#228

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9162465 - Flags: review?(mkmelin+mozilla)

I couldn't test this with my self built Daily but it's the same as FX does. I will do the check with the next Daily when the patch landed and ask then for uplifts.

Attachment #9162465 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → Thunderbird 80.0
Comment on attachment 9162465 [details] [diff] [review]
1638563-aboutDialog-button-focus.patch

[Approval Request Comment]
User impact if declined: lesser accessibility of the about dialog
Testing completed (on c-c, etc.): soon on c-c
Risk to taking this patch (and alternatives if risky): low
Attachment #9162465 - Flags: approval-comm-esr78?
Attachment #9162465 - Flags: approval-comm-beta?

Pushed by richard.marti@gmail.com:
https://hg.mozilla.org/comm-central/rev/c9e0f1e84e6e
Set the focus automatically to the Update/Restart button in "About Thunderbird" dialog. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Comment on attachment 9162465 [details] [diff] [review]
1638563-aboutDialog-button-focus.patch

Approved for beta
Attachment #9162465 - Flags: approval-comm-beta? → approval-comm-beta+
Comment on attachment 9162465 [details] [diff] [review]
1638563-aboutDialog-button-focus.patch

Approved for esr78
Attachment #9162465 - Flags: approval-comm-esr78? → approval-comm-esr78+

Checked with Daily. The buttons are now focused.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: