Dear Maintainer,
With upstream patch
(https://gitlab.gnome.org/GNOME/gnome-sound-recorder/commit/2b311ef67909bc20d0e87f334fe37bf5c4e9f29f)
gnome-sound-recorder work perfectly.
I join you debiff file which contain upstream patch.
Let me know if i can help you.
Regards,
Julien.
diff -Nru gnome-sound-recorder-3.28.2/debian/changelog gnome-sound-recorder-3.28.2/debian/changelog
--- gnome-sound-recorder-3.28.2/debian/changelog 2019-01-11 16:58:29.000000000 +0100
+++ gnome-sound-recorder-3.28.2/debian/changelog 2019-08-30 19:46:52.000000000 +0200
@@ -1,3 +1,10 @@
+gnome-sound-recorder (3.28.2-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload
+ * Add upstream patch 2b311ef6, close #932389
+
+ -- Julien Beraud <juber...@protonmail.com> Fri, 30 Aug 2019 19:46:52 +0200
+
gnome-sound-recorder (3.28.2-1) unstable; urgency=medium
* New upstream release
diff -Nru gnome-sound-recorder-3.28.2/debian/patches/series gnome-sound-recorder-3.28.2/debian/patches/series
--- gnome-sound-recorder-3.28.2/debian/patches/series 2019-01-11 16:58:29.000000000 +0100
+++ gnome-sound-recorder-3.28.2/debian/patches/series 2019-08-30 19:46:52.000000000 +0200
@@ -0,0 +1 @@
+upstream_2b311ef6-fix-crashes.patch
diff -Nru gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6-fix-crashes.patch gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6-fix-crashes.patch
--- gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6-fix-crashes.patch 1970-01-01 01:00:00.000000000 +0100
+++ gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6-fix-crashes.patch 2019-08-30 19:46:52.000000000 +0200
@@ -0,0 +1,91 @@
+diff -ru gnome-sound-recorder-3.28.2/src/mainWindow.js gnome-sound-recorder-3.28.3/src/mainWindow.js
+--- gnome-sound-recorder-3.28.2/src/mainWindow.js 2019-01-11 16:25:58.000000000 +0100
++++ gnome-sound-recorder-3.28.3/src/mainWindow.js 2019-08-29 14:59:57.000000000 +0200
+@@ -177,8 +177,8 @@
+ if (play.getPipeStates() == PipelineStates.PLAYING) {
+ play.stopPlaying();
+ let listRow = this.listBox.get_selected_row();
+- let rowWidget = listRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = listRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "PauseButton") {
+@@ -578,8 +578,8 @@
+ hasPreviousSelRow: function() {
+ this.destroyLoadMoreButton();
+ if (previousSelRow != null) {
+- let rowWidget = previousSelRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = previousSelRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+ let alwaysShow = child.get_no_show_all();
+
+@@ -628,9 +628,9 @@
+ }
+
+ previousSelRow = selectedRow;
+- let selectedRowWidget = previousSelRow.get_child(this.widget);
+- selectedRowWidget.show_all();
+- selectedRowWidget.foreach(Lang.bind(this,
++ let selectedRowGrid = previousSelRow.get_child();
++ selectedRowGrid.show_all();
++ selectedRowGrid.foreach(Lang.bind(this,
+ function(child) {
+ let alwaysShow = child.get_no_show_all();
+
+@@ -650,8 +650,8 @@
+
+ _getFileFromRow: function(selected) {
+ let fileForAction = null;
+- let rowWidget = selected.get_child(this.fileName);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = selected.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "FileNameLabel") {
+@@ -699,8 +699,8 @@
+
+ setNameLabel: function(newName, oldName, index) {
+ let selected = this.listBox.get_row_at_index(index);
+- let rowWidget = selected.get_child(oldName);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = selected.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "FileNameLabel") {
+@@ -709,7 +709,7 @@
+ child.label = markup;
+ }
+ }));
+- rowWidget.set_name(newName);
++ rowGrid.set_name(newName);
+ },
+
+ onPause: function(listRow) {
+@@ -717,8 +717,8 @@
+
+ if (activeState == PipelineStates.PLAYING) {
+ play.pausePlaying();
+- let rowWidget = listRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = listRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "PauseButton") {
+@@ -741,8 +741,8 @@
+ if (activeState != PipelineStates.PLAYING) {
+ play.startPlaying();
+
+- let rowWidget = listRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = listRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "InfoButton" || child.name == "DeleteButton" ||
diff -Nru gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6.patch gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6.patch
--- gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6.patch 1970-01-01 01:00:00.000000000 +0100
+++ gnome-sound-recorder-3.28.2/debian/patches/upstream_2b311ef6.patch 2019-08-30 19:46:52.000000000 +0200
@@ -0,0 +1,91 @@
+diff -ru gnome-sound-recorder-3.28.2/src/mainWindow.js gnome-sound-recorder-3.28.3/src/mainWindow.js
+--- gnome-sound-recorder-3.28.2/src/mainWindow.js 2019-01-11 16:25:58.000000000 +0100
++++ gnome-sound-recorder-3.28.3/src/mainWindow.js 2019-08-29 14:59:57.000000000 +0200
+@@ -177,8 +177,8 @@
+ if (play.getPipeStates() == PipelineStates.PLAYING) {
+ play.stopPlaying();
+ let listRow = this.listBox.get_selected_row();
+- let rowWidget = listRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = listRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "PauseButton") {
+@@ -578,8 +578,8 @@
+ hasPreviousSelRow: function() {
+ this.destroyLoadMoreButton();
+ if (previousSelRow != null) {
+- let rowWidget = previousSelRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = previousSelRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+ let alwaysShow = child.get_no_show_all();
+
+@@ -628,9 +628,9 @@
+ }
+
+ previousSelRow = selectedRow;
+- let selectedRowWidget = previousSelRow.get_child(this.widget);
+- selectedRowWidget.show_all();
+- selectedRowWidget.foreach(Lang.bind(this,
++ let selectedRowGrid = previousSelRow.get_child();
++ selectedRowGrid.show_all();
++ selectedRowGrid.foreach(Lang.bind(this,
+ function(child) {
+ let alwaysShow = child.get_no_show_all();
+
+@@ -650,8 +650,8 @@
+
+ _getFileFromRow: function(selected) {
+ let fileForAction = null;
+- let rowWidget = selected.get_child(this.fileName);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = selected.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "FileNameLabel") {
+@@ -699,8 +699,8 @@
+
+ setNameLabel: function(newName, oldName, index) {
+ let selected = this.listBox.get_row_at_index(index);
+- let rowWidget = selected.get_child(oldName);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = selected.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "FileNameLabel") {
+@@ -709,7 +709,7 @@
+ child.label = markup;
+ }
+ }));
+- rowWidget.set_name(newName);
++ rowGrid.set_name(newName);
+ },
+
+ onPause: function(listRow) {
+@@ -717,8 +717,8 @@
+
+ if (activeState == PipelineStates.PLAYING) {
+ play.pausePlaying();
+- let rowWidget = listRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = listRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "PauseButton") {
+@@ -741,8 +741,8 @@
+ if (activeState != PipelineStates.PLAYING) {
+ play.startPlaying();
+
+- let rowWidget = listRow.get_child(this.widget);
+- rowWidget.foreach(Lang.bind(this,
++ let rowGrid = listRow.get_child();
++ rowGrid.foreach(Lang.bind(this,
+ function(child) {
+
+ if (child.name == "InfoButton" || child.name == "DeleteButton" ||