microsoft / microsoft/PowerToys
Crash: NullReferenceException in ThemeManager .OnSystemThemeChanged
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.97.2.0
### Installation method
Microsoft Store
### Area(s) with issue?
General
### Steps to reproduce
I'm not sure what happened. PowerToys crashed and displayed this error. It may be related to the system theme change.
### ✔️ Expected Behavior
PowerToys continues running normally when the system theme changes
### ❌ Actual Behavior
PowerToys crashed with a NullReferenceException.
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
Research direction
Start by locating ThemeManager.OnSystemThemeChanged and inspect how system theme changes are handled. Try to reproduce the crash by changing the system theme and capture the exception context. Done means PowerToys continues running without a NullReferenceException during a theme change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100