CommunityToolkit / CommunityToolkit/Windows
RadialGauge Stuck When Changing System Theme and Following Theme
- Dominant language
- C#
- Stars
- 1.1k
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
If you use the user control based on the RadialGauge component, the window will be stuck when you change the system theme and let the window follow the theme.
https://github.com/user-attachments/assets/ee28f77c-2e60-4be7-b3eb-8c52130186b5
But if you use the RadialGauge component, the window works well.
https://github.com/user-attachments/assets/cef16def-e937-4ab7-837d-1f9be292ed5e
### Steps to reproduce
```text
1. Clone repo: https://github.com/Jack251970/CommunityComponentStuckDemo.
2. Open WinUIDemo\View\MainPage.xaml.
3. Use clock:AnalogClock.
4. Change system theme and the window will stuck.
5. Use control:RadialGauge.
6. Change system theme and the window will work well.
```
### Expected behavior
.
### Screenshots
.
### Code Platform
- [ ] UWP
- [X] WinAppSDK / WinUI 3
- [ ] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK
### Windows Build Number
- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [ ] Windows 10 21H2 (Build 19044)
- [ ] Windows 10 22H2 (Build 19045)
- [ ] Windows 11 21H2 (Build 22000)
- [X] Other (specify)
### Other Windows Build number
22631.4112
### App minimum and target SDK version
- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Windows 10, version 2104 (Build 20348)
- [ ] Windows 11, version 22H2 (Build 22000)
- [X] Other (specify)
### Other SDK version
10.0.22621.0
### Visual Studio Version
2022
### Visual Studio Build Number
17.11.2
### Device form factor
Desktop
### Additional context
_No response_
### Help us help you
Yes, I'd like to be assigned to work on this item.
Contributor guide
Assessment
This issue has not been assessed yet.