Open Bug 1858267 Opened 3 years ago Updated 2 years ago

Activity Manager: Focus lost on "Clear List" button when activated using the keyboard.

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 115
x86_64
All
defect

Tracking

(Not tracked)

People

(Reporter: bugzilla.mozilla.org, Unassigned)

Details

(Keywords: triaged)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36

Steps to reproduce:

While Activity Manager window is active, using TAB to select the "Clear List" button, activating the button with the spacebar causes the focus to be lost from the "Clear List" button.

Actual results:

Upon activating "Clear List" button (while highlighted) the focus is lost - meaning you cannot hit the spacebar again to clear the list without using TAB to highlight the button again.

Expected results:

Focus should stay with the selected "Clear List" button.

Reporter,
Are you seeing this also with version 115.9.0 or newer?

Whiteboard: [closeme 2024-04-15]

(In reply to Wayne Mery (:wsmwk) from comment #1)

Reporter,
Are you seeing this also with version 115.9.0 or newer?

Hi Wayne,

I have just tested this with version 115.9.0 (64-bit) - hitting TAB is still required to select the "Clear List" button, although now the focus does remain even after hitting the spacebar to activate. Although the "Clear List" button is not initially focused until TAB, the focus does remain while the window is open.

This issue can be closed - unless you think the "Clear List" button should be active upon opening the "Activity Manager" window.

Thanks.

Thanks for the update. I haven't thoroughly tested Mac, but focus does seem to be lost on first use of spacebar.

Richard, what do you think is correct behavior?

Component: Untriaged → Mail Window Front End
Flags: needinfo?(richard.marti)
Whiteboard: [closeme 2024-04-15]
Severity: -- → S4

Hi Wayne,

I suppose from a "safety first" perspective the "Clear List" should NOT be highlighted, so as to ensure the user's "intention" - i.e. Yes, I want to clear the list. So the current behaviour would be the correct behaviour in that sense.

Also, just to ensure clarity - this issue was reported for the Linux version of Thunderbird.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

The first time the focus goes away. Then when focused again and pressing SPACE lets the focus on the button. The focus stays with using ENTER. I can't say why the focus vanishes the first time but I think it should stay always like we do this with other toolbar buttons in TB.

Tested on Mac and Windows.

Flags: needinfo?(richard.marti)
OS: Linux → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: triaged
You need to log in before you can comment on or make changes to this bug.