-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use regular resource lookup for FocusVisualStyle #1165
Conversation
@batzen Thank you and I pick your code to my custom wpf repo. |
@dotnet/wpf-developers any news on this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Could you update your PR to use the template, this PR was probably opened before the template was added but the WPF team will probably want to know a couple of things in the template to consider whether or not to merge this PR, like "Testing" and "Risk".
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Input/KeyboardNavigation.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Input/KeyboardNavigation.cs
Outdated
Show resolved
Hide resolved
To be honest, i don't understand why i should do that after waiting for 3 years to get any feedback... |
…ows/Input/KeyboardNavigation.cs Co-authored-by: ThomasGoulet73 <[email protected]>
…ows/Input/KeyboardNavigation.cs Co-authored-by: ThomasGoulet73 <[email protected]>
That's true but I'm just trying to anticipate comments that the WPF team might have to avoid back and forth which would delay this PR. |
|
@lindexi thanks, but I was already aware of that repo. The question was more like "were can i find the existing tests for FocusVisual?". As a search in the test repo didn't yield any results. |
@batzen LoL, it is seems the test repo is slowly too. |
@batzen I reorganized my custom wpf test repo and pick your code. Thank you. |
This PR will be taken in the next community test pass. |
This fixes #1164
Description
Because
KeyboardNavigation
usesSystemResources.FindResourceInternal
instead ofFrameworkElement.FindResourceInternal
the defaultFocusVisualStyle
can't be overwritten globally.Customer Impact
Fixes a regression.
Regression
Yes.
Testing
Where can i add tests for this?
Risk
Low. Adds ability to overwrite
FocusVisualStyle
.