We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System.Runtime.InteropServices.COMException
Unknown (presumably it's when changing a theme setting)
v3.4
WINDOWS 10.0.19045
WinRT ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr) Files.App.Services AppThemeModeService.SetAppThemeMode (Window window, AppWindowTitleBar titleBar, Nullable`1 rootTheme, Boolean callThemeModeChangedEvent) Files.App.Services AppThemeModeService.ApplyResources () Files.App.ViewModels.Settings AppearanceViewModel.set_AppThemeBackgroundColor (String value) Files.App.ViewModels.Settings AppearanceViewModel.set_SelectedAppThemeResources (AppThemeResourceItem value) ABI.Microsoft.UI.Xaml DependencyPropertyChangedCallback.Do_Abi_Invoke (IntPtr thisPtr, IntPtr sender, IntPtr dp) WinRT ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0 (Int32 hr) ABI.Windows.ApplicationModel.Core IUnhandledErrorMethods.Propagate (IObjectReference _obj) Microsoft.AppCenter.Utils ApplicationLifecycleHelperWinUI.<ctor>b__0_3 (Object sender, UnhandledErrorDetectedEventArgs eventArgs)
The text was updated successfully, but these errors were encountered:
It's really weird that this happens in this very method, which is almost the same as before in ThemeHelper.
Do you think it's fine to add try-catch to the method? If failed, output the exception to the logger.
Sorry, something went wrong.
That should work, and we can log additional info to help debug in the future.
0x5bfa
Successfully merging a pull request may close this issue.
Description
Steps To Reproduce
Unknown (presumably it's when changing a theme setting)
Requirements
Files Version
v3.4
Windows Version
WINDOWS 10.0.19045
Log File
The text was updated successfully, but these errors were encountered: