Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit de6241e0 authored by Jun Mukai's avatar Jun Mukai
Browse files

Fix keyboard focus for opening folder.

Previous patch Ia4ccc59ca27e560e470122d1b2c6c1eccb4caf9a was
reverted due to a weird behavior around folder name editing
with virtual keyboard.
Also, requestFocus() on doneEditingFolderName() did nothing
because the folder itself didn't get the focus at that point.

This CL addresses these issues:
- no change on the descendant focusability. Folder itself is
  focusable before its descendants.
- customize Folder.focusSearch(), so once the folder is focused,
  further focus cycle moves among its descendants.
- Folder requests its focus when it appears. Without this,
  the first arrow-key after opening a folder by touch moves
  the focus to the folder itself, which looks like nothing happened.

Bug: 22562679
Change-Id: I04375bd4cb69d463b9a95bebafa9c60142e95daa
parent 8f531dd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment