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

[Windows] Crash on system theme change on pages using StatusBar #866

Closed
2 of 17 tasks
silviuo opened this issue Oct 10, 2023 · 0 comments · Fixed by #867
Closed
2 of 17 tasks

[Windows] Crash on system theme change on pages using StatusBar #866

silviuo opened this issue Oct 10, 2023 · 0 comments · Fixed by #867
Assignees
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@silviuo
Copy link
Contributor

silviuo commented Oct 10, 2023

Current behavior

On pages using StatusBar, apps using Toolkit.UI crash when changing the Windows OS theme in the OS Settings:
"The application called an interface that was marshalled for a different thread. (0x8001010E (RPC_E_WRONG_THREAD))"

Expected behavior

Apps don't crash when changing the Windows OS theme in the OS Settings

How to reproduce it (as minimally and precisely as possible)

Start Windows sample app, change the Windows OS theme in the OS Settings while the app is open, notice crash

Nuget Package:

Package Version(s):

Affected platform(s):

  • WebAssembly
  • Android
  • iOS
  • macOS (AppKit)
  • Mac Catalyst
  • Skia
    • WPF
    • GTK (Linux)
    • Linux Framebuffer
    • Tizen
  • Windows

IDE:

  • Visual Studio 2022
  • Visual Studio 2019
  • Visual Studio Code
  • Visual Studio for Mac
  • Rider Windows
  • Rider macOS

Relevant plugins:

Anything else we need to know?

@silviuo silviuo added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Oct 10, 2023
@silviuo silviuo self-assigned this Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant