UI thread blocked for a long time when launching Gajim (GPG related)
Whenever I launch Gajim, it blocks its UI for a longer time, and top
displays high CPU usage due to this call from Gajim:
gpg2 --status-fd 2 --no-tty --list-keys --fixed-list-mode --fingerprint --with-colons
I have a very large keyring, and executing this command manually takes its time:
time gpg2 .... 12.29s user 1.15s system 99% cpu 13.448 total
Please do not run this command, or at least run it on a background thread. Last time it happened to me, I just managed to right-click my account and then had to wait until Gajim unblocked before I was able to use X11 again :-(