Proposal: Add tracing/tooling to aid in tracking focus state changes #3479
Labels
area-FocusManager
Focus APIs such as Control.Focus(), FocusManager.Try[Move]Focus[Async], keyboarding with [shift+]tab
feature proposal
New feature proposal
needs-winui-3
Indicates that feature can only be done in WinUI 3.0 or beyond. (needs winui 3)
team-Reach
Issue for the Reach team
Proposal: Add tracing/tooling to aid in tracking focus state changes
Summary
This came out of root causing microsoft/react-native-windows#6181
To debug this issue, I had to manually debug through FocusManager code, which is very time consuming and requires deep knowledge of the focus code. There are many scenarios (eg TabFocusNavigation behavior, apps changing focus in the middle of getting focus, etc), and no tooling to make the debugging process easier.
I am proposing adding tracing or other tooling to shed light on the process FocusManager goes through when focus is being changed. This tooling would shed light on why a given control is being given focus, thus making it easier to understand what factors influenced the algorithm, allowing customers to fix or workaround problems where focus is not working as expected.
Rationale
Scope
Important Notes
Open Questions
The text was updated successfully, but these errors were encountered: