Package: gnome-sound-recorder
Version: 3.38.0-3
Severity: grave
Tags: patch
Justification: renders package unusable
X-Debbugs-Cc: sop...@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 <hewittsam...@gmail.com>'],
             authors: ['Meg Ford <megf...@gnome.org>',
                 'Bilal Elmoussaoui <bil.elmoussa...@gmail.com>',
-                'Felipe Borges <felipebor...@gnome.org>'],
+                'Felipe Borges <felipebor...@gnome.org>',
+                'Kavan Mevada <kavanmev...@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;
         }
     }
```

Reply via email to