Closed Bug 1819344 Opened 1 year ago Closed 1 year ago

Keyboard focus trapped when collapsing the new folder list

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 112
defect

Tracking

(thunderbird_esr102 unaffected, thunderbird111 fixed)

RESOLVED FIXED
112 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird111 --- fixed

People

(Reporter: pvagner, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: access, regression, Whiteboard: [Supernova3p])

Attachments

(1 file)

This is on linux with:

  • Thunderbird daily 112.0a1 (2023-02-27) (64-bit)
  • at-spi2-core 2.46.0
  • python-atspi 2.46.0

However I expect this to be reproduceable on all the platforms

The problem

New folder tree introduced in Thunderbird 111 can be perfectly navigated using the keyboard. Up and down arrow keys change the selection, left and right arrow keys expand / collapse tree nodes.
The folder tree has root node at level 1, then account specific nodes at level 2, general folders such as inbox, draft, send and trash at level 3 and so on.
When collapsing the root node by selecting it in the tree and pressing left arrow, keyboard navigation gets stuck and it's no longer possible to use the keyboard to expand the folder tree again.

Steps to reproduce

  • Launch thunderbird, use tab or shift+tab or F6 and shift+F6 to focus the folder tree.
  • Press the home key to navigate to the first account in the folder tree.
  • If it's expanded press left arrow to collapse the focused node, otherwise continue to the next step.
  • Focus should be at the collapsed account in the folder tree. Press left arrow to move to the root node in the folder tree.
  • Notice the node you have just selected is expanded and is at level 1 but it has no name. Press left arrow key to collapse.
  • Now the folder tree is collapsed and you can expand it with right arrow key. But don't do that now please.
  • Now while the folder tree is all collapsed press either up arrow or down arrow.
  • Finally the focus is trapped and you can no longer focus the collapsed root folder tree node with the keyboard. The only way I have found to recover from this is by closing and launching thunderbird again.

Actual results

When the folder tree is collapsed like this. It's no longer possible to get it expanded again.

Expected

The focus should never get stuck and it should always be possible to navigate back in the opposite direction.

Keywords: access, regression
Whiteboard: [Supernova]

Yup, I know what's going on here.

Assignee: nobody → geoff
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: 112 Keyboard focus trapped when collapsing the new folder list → Keyboard focus trapped when collapsing the new folder list
Target Milestone: --- → 112 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5ff5077ffa4f
Do more to prevent selection of unselectable rows in TreeListbox. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Attachment #9321250 - Flags: approval-comm-beta?

Comment on attachment 9321250 [details]
Bug 1819344 - Do more to prevent selection of unselectable rows in TreeListbox. r=#thunderbird-front-end-reviewers

[Triage Comment]
Approved for beta

Attachment #9321250 - Flags: approval-comm-beta? → approval-comm-beta+
Whiteboard: [Supernova] → [Supernova3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: