Description
In Settings -> Accessibility -> Visual effects we can disable animations. This applies to all UI frameworks - Forms, WPF, UWP, WinUI, etc. With the WPF Fluent styles, the animations for open a ContextMenu and ComboBox still open. There may be other animations as well, these are just the ones I've observed.
Reproduction Steps
- Create a new WPF app and enable Fluent themes as detailed here.
- Add a TextBox and ComboBox (and put some random dummy ComboBoxItems in it) to your UI
- Go to Settings -> Accessibility -> Visual effects and turn off Animation effects
- Run the app
- Right click the TextBox to open it's context menu
- Click on the ComboBox
- Observe that both play their opening animations, despite them being disabled in Settings
OR
- Install the WPF Gallery app - https://apps.microsoft.com/detail/9NDLX60WX4KQ?hl=en-us&gl=AU&ocid=pdpshare
- Go to Settings -> Accessibility -> Visual effects and turn off Animation effects
- Use the bar on the left side to view the pages for ComboBox
- Open the ComboBox
- Repeat the above for TextBox, but right click the TextBox instead to bring up its ContextMenu
- Observe the animations playing when they open, even though they shouldn't
Expected behavior
No animations should play when animation effects are turned off in Windows Settings.
Actual behavior
ContextMenu and ComboBox play an animation when they open.
Regression?
Yes, didn't happen before.
Known Workarounds
No response
Impact
Causes apps to disrespect the users' accessibility settings.
Configuration
- .NET runtime 10.0.9, built with SDK 10.0.301 - x64
- Windows 11 version 23H2, build 22631.6199 - x64
Other information
No response
Description
In Settings -> Accessibility -> Visual effects we can disable animations. This applies to all UI frameworks - Forms, WPF, UWP, WinUI, etc. With the WPF Fluent styles, the animations for open a ContextMenu and ComboBox still open. There may be other animations as well, these are just the ones I've observed.
Reproduction Steps
OR
Expected behavior
No animations should play when animation effects are turned off in Windows Settings.
Actual behavior
ContextMenu and ComboBox play an animation when they open.
Regression?
Yes, didn't happen before.
Known Workarounds
No response
Impact
Causes apps to disrespect the users' accessibility settings.
Configuration
Other information
No response