mail icon indicating copy to clipboard operation
mail copied to clipboard

The app suspends after click an item in the MessageListBox

Open sauntor opened this issue 3 years ago • 1 comments

What Happened?

The message in the inbox can't be open, if you click a message item, the Mail will suspend for a long time. Then, I try to debug it using gdb, and something reads like the fellow:

(io.elementary.mail:4188): Handy-WARNING **: 18:57:01.207: Failed to load icon: HTTP Error: Unable to connect: The connection timed out

After that, I search the code in this repository, and find out that maybe caused by GravatarIcon, as I find this line.

I open Chrome and parse the url https://secure.gravatar.com into the address bar, and find out it can't be visit!

Steps to Reproduce

  1. make the internet access to https://secure.gravatar.com with a long delay and minimum bandwidth
  2. open io.elementary.mail
  3. click some messsage in the message list

Expected Behavior

  1. do not suspend the GUI while loading resources from internet
  2. an option to switch off loading icons from https://secure.gravatar.com is better
  3. only using icons from local is best

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

sauntor avatar Oct 02 '22 11:10 sauntor

a workaround is blocking the domain secure.gravatar.com via /etc/hosts:

127.0.0.1   secure.gravatar.com

sauntor avatar Oct 02 '22 11:10 sauntor