Bug#988292: gnome-sound-recorder: Potential data loss and regression (recordings not saved or unusable)

Sophie Herold sophie at hemio.de
Sun May 9 19:23:38 BST 2021


Package: gnome-sound-recorder
Version: 3.38.0-3
Severity: grave
Tags: patch
Justification: renders package unusable
X-Debbugs-Cc: sophie at hemio.de

Dear Maintainer,

as pointed out in an other issue, there exists an important upstream release
for this package. From the 3.38.1 NEWS file:

 Fix recording is lost when using space bar in name input
 Fix ui becomes unusable and recording is lost after stopping a record
 Remove m4a option since using it results in unusable recordings

At least the first two are regressions compare to current stable version. All
three imply data loss.

The relevant patch is very simple

```
diff --git a/src/application.js b/src/application.js
index 24f0aac..d9ab61a 100644
--- a/src/application.js
+++ b/src/application.js
@@ -124,7 +124,8 @@ var Application = GObject.registerClass(class Application
extends Gtk.Applicatio
                 'Sam Hewitt <hewittsamuel at gmail.com>'],
             authors: ['Meg Ford <megford at gnome.org>',
                 'Bilal Elmoussaoui <bil.elmoussaoui at gmail.com>',
-                'Felipe Borges <felipeborges at gnome.org>'],
+                'Felipe Borges <felipeborges at gnome.org>',
+                'Kavan Mevada <kavanmevada at gmail.com>'],
             /* Translators: Replace "translator-credits" with your names, one
name per line */
             translator_credits: _('translator-credits'),
             program_name: GLib.get_application_name(),
diff --git a/src/recorderWidget.js b/src/recorderWidget.js
index 8b01278..2ba4d0d 100644
--- a/src/recorderWidget.js
+++ b/src/recorderWidget.js
@@ -155,6 +155,8 @@ var RecorderWidget = GObject.registerClass({
         case RecorderState.STOPPED:
             this.actionsGroup.lookup('start').enabled = true;
             this.actionsGroup.lookup('stop').enabled = false;
+            this.actionsGroup.lookup('pause').enabled = false;
+            this.actionsGroup.lookup('resume').enabled = false;
             break;
         }
     }
```



More information about the pkg-gnome-maintainers mailing list