mijorus / smile

An emoji picker for linux, with custom tags support and localization. I'll also put some random emojis here πŸ¦πŸΎπŸ¦”πŸ¦‡
https://mijorus.it/projects/smile
GNU General Public License v3.0
235 stars 13 forks source link

Smile takes forever to open and is unresponsive. #77

Closed Garbg closed 2 months ago

Garbg commented 3 months ago

Opening smile takes about 30 seconds, and it is so unresponsive it is unsusable. I have an intel core i9-10850k CPUand an AMD Radeon RX 6600 GPU. Your other apps like gear lever work perfectly fine.

Garbg commented 3 months ago

When it's opening for some reason it uses 99% of my CPU on one thread.

evdcush commented 2 months ago

Related #64

mijorus commented 2 months ago

I honestly don't know how to debug this, I'm trying on every platform and configuration I possibly can, but Smile always runs just fine for me

Garbg commented 2 months ago

I am using opensuse tumbleweed. I might try reinstalling it.

evdcush commented 2 months ago

@Garbg What happens if you run fc-cache -f -v before opening Smile? Or try rm -rf ~/.cache/fontconfig/ then the fc-cache -f command.

Can you share which emoji fonts you have installed?

mijorus commented 2 months ago

Realistically, the only thing that could slow it down is the rendering of the emoji list, but we are talking about a couple of hundred items at maximum, it shouldn't be a big problem

evdcush commented 2 months ago

I recently performed the actions I mentioned on my machine for a different purpose, and sometime after I opened Smile and found it performing as expected (not the typical super super laggy way).

Precisely what operation, the removal of ~/.cache/fontconfig/ or fc-cache -f helped resolve the issue, or whether this fix will persist after reboot, I couldn't say. (UPDATE: fix persists!)

But this is the first time one of my machines that was experiencing issues with Smile somehow resolved itself.

Garbg commented 2 months ago

I don't know it fixed itself