Bug#931558: seahorse: GnuPG key import fails

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


Hi,

I'm confirming this bug on seahorse 3.38.0.1-1 (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,
please?

Thank you very much in advance!
SnipFoo.
-------------- 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-3.38.0.1.orig/src/import-dialog.vala
+++ seahorse-3.38.0.1/src/import-dialog.vala
@@ -41,7 +41,7 @@ public class Seahorse.ImportDialog : Gtk
         this.import.get_style_context().add_class("suggested-action");
         this.import.importing.connect(() => this.viewer.clear_error());
         this.import.imported.connect(on_import_button_imported);
-        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