122
submitted 1 day ago* (last edited 1 day ago) by edie@lemmy.encryptionin.space to c/chapotraphouse@hexbear.net

The addon I posted about 4 days ago is now available!


This user is suspected of being a cat. Please report any suspicious behavior.

you are viewing a single comment's thread
view the rest of the comments
[-] nfreak@lemmy.ml 19 points 1 day ago

Seems pretty slow but definitely works, neato

banana-duck-peeled

[-] edie@lemmy.encryptionin.space 9 points 1 day ago

Slow in what way?


This user is suspected of being a cat. Please report any suspicious behavior.

[-] nfreak@lemmy.ml 12 points 1 day ago

It just takes a pretty long time for the emoji list to load on my end. Network's fine otherwise.

[-] edie@lemmy.encryptionin.space 13 points 1 day ago* (last edited 1 day ago)

That's still not quite clear to me, I'm asking of course because I want to figure out if there is anything I can do to make it better.

The emoji list is downloaded when you click save in preferences, and has been saved into the browser storage once the date is changed. When you click on the icon to show the popup, it will fetch this list from local storage. If fetching the list from local storage takes a long time then it would probably take a long time for the emoji picker itself to show. The emoji picker will then begin to download the images for each of the emojies, this might take some time but once one has been downloaded it should be cached and hopefully be quick to display.

Which part seems to be the problem?


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Enjoyer_of_Games@hexbear.net 3 points 21 hours ago

It's thousands of images some that are over 3mb which all must then be resized for display in the emojimart. It's not clear to me how the resizing is handled, I suppose it is inside browser.js which I can't make heads or tails of. Would go a long way to speeding things up if the emoji where resized on the server itself and failing that at least having them presized to the picker display size in the local storage (if they're not already).

[-] edie@lemmy.encryptionin.space 3 points 21 hours ago

The rezising is handled by the browser, just like any other image is resized when the height and width is different from the image itself.

browser.js is https://github.com/missive/emoji-mart


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Enjoyer_of_Games@hexbear.net 3 points 21 hours ago

I made a local page with all hexbear emoji to test and it seems to render at the same speed whether they are at native resolution or all resized to 50x50 so I guess that's out.

If you disconnect internet and restart the browser the extension shows no emoji at all. Perhaps it is fetching them from the internet in spite of the local storage?

[-] edie@lemmy.encryptionin.space 2 points 21 hours ago

If you disconnect internet and restart the browser the extension shows no emoji at all. Perhaps it is fetching them from the internet in spite of the local storage?

It does for me,

of course, you have to have downloaded the images so that they are cached first.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Enjoyer_of_Games@hexbear.net 2 points 20 hours ago

They are definitely downloaded first, they still show up after disconnection while the browser remains open and then disappear on browser restart. This is using librewolf, maybe it handles local cache differently than firefox?

[-] edie@lemmy.encryptionin.space 2 points 20 hours ago* (last edited 20 hours ago)

I believe Librewolf disables cache.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] Enjoyer_of_Games@hexbear.net 2 points 8 hours ago

I don't know if this is helpful but I have discovered that my page with every hexbear emoji which is snappy on librewolf is very slow on chromium and causes it to crash..

[-] Kumikommunism@hexbear.net 12 points 1 day ago

I'm assuming you are loading them directly from Hexbear and not hosting them elsewhere. In which case, Hexbear emotes just load slowly a lot of the time and there isn't anything you can do.

[-] JustSo@hexbear.net 1 points 1 day ago

Hexbear is the bottleneck, if you found a way to locally cache the emojis I think that'd be ideal.

this post was submitted on 18 Feb 2026
122 points (100.0% liked)

Chapotraphouse

14277 readers
631 users here now

Banned? DM Wmill to appeal.

No anti-nautilism posts. See: Eco-fascism Primer

Slop posts go in c/slop. Don't post low-hanging fruit here.

founded 5 years ago
MODERATORS