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

CheckBox displays errors when resuming from sleep. #9612

Open
lgBlog opened this issue May 6, 2024 · 0 comments
Open

CheckBox displays errors when resuming from sleep. #9612

lgBlog opened this issue May 6, 2024 · 0 comments
Labels
bug Something isn't working team-Controls Issue for the Controls team

Comments

@lgBlog
Copy link

lgBlog commented May 6, 2024

Describe the bug

When the computer resumes from sleep, the CheckBox status becomes indeterminate. Returns to normal when mouseover.

After starting the APP, it will only be triggered when resuming from sleep for the first time.

Steps to reproduce the bug

1.Create a new project.
2.Add CheckBox control.

<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
        <CheckBox IsChecked="True" Content="CheckBox"/>
        <CheckBox IsChecked="True" Content="CheckBox"/>
        <CheckBox IsChecked="True" Content="CheckBox"/>
        <CheckBox IsChecked="True" Content="CheckBox"/>
        <CheckBox IsChecked="True" Content="CheckBox"/>
        <CheckBox IsChecked="True" Content="CheckBox"/>
        <CheckBox IsChecked="True" Content="CheckBox"/>
        <CheckBox IsChecked="True" Content="CheckBox"/>
</StackPanel>

3.Open
4.Put your PC to sleep
5.Resume from sleep state

Expected behavior

The state before sleep will be maintained. Should not show as indeterminate.

Screenshots

WinUI.Desktop.2024-05-06.08-17-32.-.Trim.mp4

屏幕截图 2024-05-06 084539

NuGet package version

WinUI 3 - Windows App SDK 1.5.3: 1.5.240428000

Windows version

Windows 11 (23H2): Build 22631

Additional context

No response

@lgBlog lgBlog added the bug Something isn't working label May 6, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 6, 2024
@chrisglein chrisglein added the team-Controls Issue for the Controls team label May 8, 2024
@codendone codendone removed the needs-triage Issue needs to be triaged by the area owners label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants