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.

Firefox 55.0.1(32ビット)では、そのトピック内のすべてのアバターが表示されます:

おっしゃる通り、アバターが表示されないことがありますが、これは一部のサイトでランダムに発生します(Discourse サイトでも同様です)。ただし、ページを再読み込みすれば問題が解決します(私の場合、毎回)。おそらく、これは Discourse というよりも主に Firefox の問題だと思われます。

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

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

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

「いいね!」 2

Found it. This topic can be closed.

「いいね!」 1