aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-31 00:00:50 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-31 00:00:50 +0100
commit8ea53d0360aeabe74d58da297ac7eb6cee1eac3b (patch)
treecc8547696198cdc7d080fd3757496f79c6d34dda
parent7ae8c217b110eb2a5c61d05220f08a3db6a2ff97 (diff)
Flatpak: open new ui when opening the program
-rw-r--r--com.dec05eba.gpu_screen_recorder.appdata.xml7
-rw-r--r--src/main.cpp1
2 files changed, 8 insertions, 0 deletions
diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml
index 6339fff..73c93aa 100644
--- a/com.dec05eba.gpu_screen_recorder.appdata.xml
+++ b/com.dec05eba.gpu_screen_recorder.appdata.xml
@@ -91,6 +91,13 @@
</screenshots>
<releases>
+ <release version="5.0.1" date="2024-12-30">
+ <description>
+ <ul>
+ <li>Open the running new UI when trying to launch it again instead of showing an error, to allow switching back to the old UI in case of errors</li>
+ </ul>
+ </description>
+ </release>
<release version="5.0.0" date="2024-12-29">
<description>
<ul>
diff --git a/src/main.cpp b/src/main.cpp
index 60006ec..6b06ddb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2745,6 +2745,7 @@ static gboolean on_click_switch_to_new_ui(GtkButton*, gpointer) {
GtkWidget *dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(window), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
"You are about to try out the new UI, which is a ShadowPlay-like fullscreen UI. It runs in the background and you have to show/hide it by pressing Alt+Z.\n"
"This new UI is still experimental and you may experience issues depending on your system. You can switch back to the old UI at any time by opening the UI and clicking on the settings button and clicking on the \"Go back to the old UI\" button.\n"
+ "Note that at the moment it assumes you are using a keyboard with qwerty layout. If you are using another keyboard layout then instead of pressing Alt+Z you have to press the key that has been switched the with Z key.\n"
"\n"
"This new UI comes with new features, such as being able to automatically launch it on system startup by enabling it in settings, and hotkey support on any Wayland compositor.\n"
"\n"