[Bug]: Custom emoji picker is extremely slow
Describe the bug
Scrolling through the custom emoji picker is extremely slow and uses an entire core of CPU time.
Steps To Reproduce
- Press the post button
- Open the custom emoji picker
Logs and/or Screenshots
No response
Instance Backend
Mastodon
Operating System
Debian Unstable
Package
OS repositories
Troubleshooting information
No response
Additional Context
No response
Thanks for raising this issue!
As it stands I don't think there's much I can do. Assuming you are on tech.lgbt, we have 5937 custom emojis that need to be downloaded, loaded and displayed at once.
Technically a GridView would help with that but we'd lose the categories so postponed.
edit: My suggestion is to use the completion providers instead. Start typing :<emoji name> and a popover with results will show up
edit: My suggestion is to use the completion providers instead. Start typing
:<emoji name>and a popover with results will show up
Thanks I'll definitely try this next time.
So I tried typing :<emoji name> instead but unfortunately that doesn't seem to be a good work around as it only shows me the first 3 emoji of 20 emoji.
I also noticed that Tuba locks up showing this dialog when I try to go back to my post from the emoji picker.
Maybe there needs to be an autocompletion delay (ex: 500ms, especially for servers with lots of emojis) added to that particular piece of syntax?