You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Focus in UWP/WinUI is a not exactly trivial problem, I guess that's why FocusTracker was added in the first place.
This is what the FocusTracker looks like if the RootScrollViewer has focus:
Name:
Type: ScrollViewer
Automation.Name:
Parent with Name:
FocusTracker
It is hard to understand what is going on in this case, because this ScrollViewer is not visible and not added by the users XAML.
In the case that the window is unfocused or the FocusTracker is not active the four fields are simply empty. It would be better to add some information describing why no information is displayed.
Describe the solution
Different solutions for these common focus cases are possible.
Ideas:
A status text could be added after the FocusTracker caption:
FocusTracker (inactive)
FocusTracker (Window unfocused)
FocusTracker (RootScrollViewer focused)
A new status line could be added with the same status as above.
The type or name rows could be used, when the RootScrollViewer is selected show that and show [Window unfocused] or [FocusTracker deactivated] in the other cases.
If this is a feature that would be interesting for the toolkit, I could try to implement this.
Describe the problem this feature would solve
Focus in UWP/WinUI is a not exactly trivial problem, I guess that's why FocusTracker was added in the first place.
This is what the FocusTracker looks like if the RootScrollViewer has focus:
It is hard to understand what is going on in this case, because this ScrollViewer is not visible and not added by the users XAML.
In the case that the window is unfocused or the FocusTracker is not active the four fields are simply empty. It would be better to add some information describing why no information is displayed.
Describe the solution
Different solutions for these common focus cases are possible.
Ideas:
If this is a feature that would be interesting for the toolkit, I could try to implement this.