Some sites are missing letter icons

This isn’t happening on Meta, but some other Discourse hosted sites are not showing letter icons for desktop views (in Firefox). They appear to work in the mobile view.

All of the users in this topic, found searching for something else:

In the JSON for webrocker:

{"id":6180,"name":"","username":"webrocker","avatar_template":"https://avatars.discourse.org/v2/letter/w/e19adc/{size}.png"

Reviewing the code, it looks like {first_letter} and {color} get gsubed in in self.system_avatar_template in app/models/user.rb, but size seems special because it changes based on view (hence working for mobile). I’m not clear where size is supposed to be subbed in and is failing to be.

I’ve seen this behavior at Imgur, too.

Vedo tutti gli avatar in quell’argomento con Firefox 55.0.1 (32 bit):

Hai ragione, a volte gli avatar mancano. È successo su alcuni siti in modo casuale (anche su siti Discourse). Ma ricaricare la pagina risolve il problema (per me) ogni volta. Probabilmente è più un problema di Firefox che di Discourse.

Reload didn’t help. Nor did logging in. Since I don’t have an icon at Let’s Encrypt, the UI got really bad:

I clicked on the :large_blue_circle: number to get that menu, but without a notification it is invisible and unclickable.

In browser console I see only one error, repeated three times:

Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist.  ExtensionCommon.jsm:264
	withLastError resource://gre/modules/ExtensionCommon.jsm:264:9
	wrapPromise/< resource://gre/modules/ExtensionCommon.jsm:315:11

Given the location, the message is not Discourse related, and might or might not be related to the icon problem. I’ll guess I’ll give FF55 a try for this.

1 Mi Piace

It’s not FF55. It’s Privacy Badger. It has decided that cdn.discourse.org and cdn-enterprise.discourse.org are safe, but that avatars.discourse.org is tracking me. The two CDN sites get a nice little DNT check box with “This domain promises to not track you” message, but avatars does not.

4 Mi Piace

Yes, I believe we followed up on this before. Perhaps searching will turn it up.

2 Mi Piace

Found it. This topic can be closed.

1 Mi Piace