Some sites are missing letter icons

(Eli the Bearded) #1

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:


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.

(Daniela) #2

I see all the avatars in that topic with Firefox 55.0.1 (32bit):

You’re right, sometimes avatars missing. It happened on some sites at random (also on Discourse sites). But reload the page fix the problem (for me) all the times. Probably is mostly a Firefix issue rather than Discourse.

(Eli the Bearded) #3

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.

(Eli the Bearded) #4

It’s not FF55. It’s Privacy Badger. It has decided that and are safe, but that 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.

Discourse CDNs are blocked by privacy badger
(Jeff Atwood) #5

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

(Eli the Bearded) #6

Found it. This topic can be closed.

(Jeff Atwood) #7