Skip to content
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

Component Stuck When Changing System Theme and Following Theme #501

Open
3 of 24 tasks
Jack251970 opened this issue Sep 7, 2024 · 2 comments
Open
3 of 24 tasks

Component Stuck When Changing System Theme and Following Theme #501

Jack251970 opened this issue Sep 7, 2024 · 2 comments

Comments

@Jack251970
Copy link

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.

Stuck.mp4

But if you use the RadialGauge component, the window works well.

Normal.mp4

Steps to reproduce

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
  • 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)
  • 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)
  • 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.

@Jack251970
Copy link
Author

Microsoft.WindowsAppSDK version is 1.5.240627000 and CommunityToolkit.WinUI.Controls.RadialGauge version is 8.1.240821.

@Jack251970
Copy link
Author

After a long time, the window with the user control based on the RadialGauge component will be set to the right theme. And the window can work well.
But the waiting time is so long that I do think it seriously effect the interaction experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant