You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frontend: Switch crash handling to new CrashHandler class
The new CrashHandler class is used by the OBSApp class (as it's an
application concern) to handle detection of a prior crash and also to
provide crash upload functionality.
The concerns are separated by using Qt signals: The OBSBasic window
asks the application to upload the most recent crash log and is
informed by the OBSApp instance via bespoke signals about the result
(thus the OBSBasic instance can choose what to do in reaction to these
events).
The OBSApp class itself reacts to events emitted by its CrashHandler
instance, thus each part of the application is only concerned about its
own functionality and allows other parts to react to these events
accordingly.
Copy file name to clipboardExpand all lines: frontend/data/locale/en-US.ini
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -126,12 +126,16 @@ AlreadyRunning.Title="OBS is already running"
126
126
AlreadyRunning.Text="OBS is already running! Unless you meant to do this, please shut down any existing instances of OBS before trying to run a new instance. If you have OBS set to minimize to the system tray, please check to see if it's still running there."
127
127
AlreadyRunning.LaunchAnyway="Launch Anyway"
128
128
129
-
# warning if auto Safe Mode has engaged
130
-
AutoSafeMode.Title="Safe Mode"
131
-
AutoSafeMode.Text="OBS did not shut down properly during your last session.\n\nWould you like to start in Safe Mode (third-party plugins, scripting, and WebSockets disabled)?"
132
-
AutoSafeMode.LaunchSafe="Run in Safe Mode"
133
-
AutoSafeMode.LaunchNormal="Run Normally"
134
-
## Restart Option
129
+
# Prior Crash Detection
130
+
CrashHandling.Dialog.Title="OBS Studio Crash Detected"
131
+
CrashHandling.Dialog.Text="OBS Studio did not properly shut down.\n\nRun in Safe Mode (third-party plugins, scripting, and WebSockets disabled)?"
132
+
CrashHandling.Dialog.SendReport="Also upload most recent OBS Studio crash report?"
133
+
CrashHandling.Dialog.LaunchSafe="Run in Safe Mode"
134
+
CrashHandling.Dialog.LaunchNormal="Run in Normal Mode"
135
+
CrashHandling.Errors.UploadJSONError="An error occurred while trying to upload the most recent crash log. Please try again later."
0 commit comments