On Thursday, 17 March 2016 22:02:31 CET, Erik Quaeghebeur wrote:
I can't recreate the issue now. I have the feeling something
has been cached (by GnuPG)? In any case, I think it said it was
waiting for signature verification.
The only caching comes from Trojita itself. The GpgME library doesn't cache
anything. However, the code has always started signature verification and
message rendering in paralel, so I don't really see something like you
describe can happen.
...unless you've been running without
https://gerrit.vesnicky.cesnet.cz/r/662 which was about a missing
QWidget::show(), which could probably explain just this sort of behavior.
Does Trojita's GUI respond to various mouse/keyboard inputs during this
time?
Yes, it did respond to mouse input. I did not try keyboard.
That verifies that std::async indeed defers execution to the background on
your system. That's expected and good.
BTW: I'm replying with KMail, as Trojità ‘hangs’ loading the
message I'm replying to (on FastMail, i.e., a souped-up Cyrus
server). From what I've been able to determine by copying the
message to a different account on a different server (Dovecot),
the issue may be that it uses BINARY.PEEK instead of BODY.PEEK
and that fetch does not complete for some reason or other,
perhaps because some advertised capability is broken. (I've had
this with one other message before.)
Please file a bug about this one, with the IMAP log attached.
Cheers,
Jan
--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/