-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Feature: Auto restore tabs if the app crashes #12005
Feature: Auto restore tabs if the app crashes #12005
Conversation
With the current implementation, does the user's original setting is preserved after the restart? |
It should because the current implementation is the same mechanism as when changing languages. |
Automatic restart is now implemented. Notifications now doesn't launch the application when clicked in favor of automatic restart. |
It might be related with #3652 |
As it is, if I get an error when I view a particular page, I get endless restarts. It needs a little more improvement. |
But it returns normally when changing language. Files/src/Files.App/UserControls/RestartControl.xaml.cs Lines 51 to 57 in 29c35b0
|
Yes that might be the case |
I addressed it. Now ready for review. |
@hishitetsu may I ask you what was the process you used to provoke the crash of the app to test it myself? |
I tested that by embedding the code that throws the Exception for debugging purposes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works as expected for me.
src/Files.App/ServicesImplementation/Settings/PreferencesSettingsService.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolved / Related Issues
Closes Feature: Auto restore tabs if the app crashes #5993
Validation
How did you test these changes?