When checking out https://dev.gnupg.org/T7636 I found that trying to update a certificate takes a very long time if there is no network.
For comparison, with network connection 2 gpg processes start, 1or 2 seconds after the first of them ends, the result window comes up.
Its then ~3-4 seconds until the result window is there, there is no progress info window. It's debatable if some kind of indicator is needed for a wait of this length.
Without network, the wait is much longer, ~2 minutes on my machine. Here the lack of a progress window really feels like a bug.
gpg log (for a key with 2 user IDs which was imported from WKD originally):
2025-05-14 15:25:26 gpg[8340] enabled debug flags: memstat 2025-05-14 15:25:26 gpg[8340] enabled compatibility flags: 2025-05-14 15:25:26 gpg[8340] using pgp trust model 2025-05-14 15:25:26 gpg[9140] enabled debug flags: memstat 2025-05-14 15:25:26 gpg[9140] enabled compatibility flags: 2025-05-14 15:26:16 gpg[8340] error retrieving 'XXX1@gnupg.com' via WKD: Server indicated a failure 2025-05-14 15:26:16 gpg[8340] error reading key: Server indicated a failure 2025-05-14 15:26:30 gpg[9140] keyserver receive failed: Unknown error 2025-05-14 15:26:30 gpg[9140] keydb: handles=0 locks=0 parse=0 get=0 2025-05-14 15:26:30 gpg[9140] build=0 update=0 insert=0 delete=0 2025-05-14 15:26:30 gpg[9140] reset=0 found=0 not=0 cache=0 not=0 2025-05-14 15:26:30 gpg[9140] kid_not_found_cache: count=0 peak=0 flushes=0 2025-05-14 15:26:30 gpg[9140] sig_cache: total=0 cached=0 good=0 bad=0 2025-05-14 15:26:30 gpg[9140] objcache: keys=0/0/0 chains=0,0..0 buckets=0/0 attic=0 2025-05-14 15:26:30 gpg[9140] objcache: uids=0/0/0 chains=0,0..0 buckets=0/0 2025-05-14 15:26:30 gpg[9140] random usage: poolsize=600 mixed=0 polls=0/0 added=0/0 outmix=0 getlvl1=0/0 getlvl2=0/0 2025-05-14 15:26:30 gpg[9140] rndjent stat: collector=0x0000000000000000 calls=0 bytes=0 2025-05-14 15:26:30 gpg[9140] secmem usage: 0/32768 bytes in 0 blocks 2025-05-14 15:27:06 gpg[8340] error retrieving 'XXX2@gnupg.com' via WKD: Server indicated a failure 2025-05-14 15:27:06 gpg[8340] error reading key: Server indicated a failure 2025-05-14 15:27:06 gpg[8340] keydb: handles=0 locks=0 parse=0 get=0 2025-05-14 15:27:06 gpg[8340] build=0 update=0 insert=0 delete=0 2025-05-14 15:27:06 gpg[8340] reset=0 found=0 not=0 cache=0 not=0 2025-05-14 15:27:06 gpg[8340] kid_not_found_cache: count=0 peak=0 flushes=0 2025-05-14 15:27:06 gpg[8340] sig_cache: total=0 cached=0 good=0 bad=0 2025-05-14 15:27:06 gpg[8340] objcache: keys=0/0/0 chains=0,0..0 buckets=0/0 attic=0 2025-05-14 15:27:06 gpg[8340] objcache: uids=0/0/0 chains=0,0..0 buckets=0/0 2025-05-14 15:27:06 gpg[8340] random usage: poolsize=600 mixed=0 polls=0/0 added=0/0 outmix=0 getlvl1=0/0 getlvl2=0/0 2025-05-14 15:27:06 gpg[8340] rndjent stat: collector=0x0000000000000000 calls=0 bytes=0 2025-05-14 15:27:06 gpg[8340] secmem usage: 0/32768 bytes in 0 blocks
Result window:
Please add a progress window so that the user sees that something is happening.