Bug#931558: seahorse: GnuPG key import fails

SnipFoo snip at herbesfolles.org
Fri Apr 9 01:00:33 BST 2021


I'm confirming this bug on seahorse (the version currently
packaged in bullseye).

I've backported the fix from upstream [1], and it seems to have fixed
the problem: importing GnuPG keys now works again as expected.

[1] https://gitlab.gnome.org/GNOME/seahorse/-/merge_requests/144

I'm attaching the corresponding patch to this email.

Since this bug prevents seahorse from importing GnuPG keys--and
therefore makes it quite useless for managing GnuPG keyrings--,
do you think there's any chance this fix might make it to bullseye,

Thank you very much in advance!
-------------- next part --------------
Description: ImportDialog: Fix import dialog
 The import dialog fails to import files without showing any warning.
 The dialog closes before it finishes the import process and cancels it.
 This is solved by making the import button not return a response directly.
 Fixes #236
Author: Jeremias Ortega <jeremias at ortega.tech>
Origin: upstream, https://gitlab.gnome.org/GNOME/seahorse/-/commit/6cc0fe7381a4c9536123bf877b3e055774b2f0a9
Bug: https://gitlab.gnome.org/GNOME/seahorse/issues/236
Bug-Debian: 931558

--- seahorse-
+++ seahorse-
@@ -41,7 +41,7 @@ public class Seahorse.ImportDialog : Gtk
         this.import.importing.connect(() => this.viewer.clear_error());
-        add_action_widget(this.import, Gtk.ResponseType.OK);
+        ((Gtk.HeaderBar) get_header_bar()).pack_end(this.import);
         this.viewer = new Gcr.ViewerWidget();
         this.viewer.added.connect((v, r, parsed) => this.import.add_parsed(parsed));

More information about the pkg-gnome-maintainers mailing list