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

Skip to content
Commit 3134865b authored by Sally's avatar Sally
Browse files

Only request a layout for non-empty accessibility focus rects

The original fix here: ag/22622669 is  aggressive for when to perform
layouts and will request a layout when the rect is empty, but the
actual new traversal logic only applies when the rect is non-empty.

Narrowing so we don't request for empty rects will eliminate
unneccessary layouts and fix a serious a11y bug of a drop down
preference spinner closing itself immediately when opened.

This is because the pop-up
appearing caused the focus to disappear, causing the focus rect to be empty and
triggering global layout change that the spinner responds with by closing
itself.

For more details, please see the analysis at b/320398253.

Test: manual
Bug: 320398253
Change-Id: I845da4d5ff1a9271e885448b8d6b9cb537f0c33c
parent 976207c4
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