Nheko-Reborn / nheko

Desktop client for Matrix using Qt and C++20.
https://nheko-reborn.github.io/
GNU General Public License v3.0
1.95k stars 202 forks source link

Sticker picker doesn't show newly added pack #950

Open tastytea opened 2 years ago

tastytea commented 2 years ago

Describe the bug

When I add a new image pack or add a new image to an image pack, it doesn't show up in the sticker picker. It does show up in the custom emoji completer.

Workaround: Restart nheko and it shows up.

To Reproduce

  1. Create image pack with emojis and sticker
  2. Use custom emoji completer to select an emoji from the pack
  3. Try to select a sticker from the pack in the sticker picker
  4. It's not there

What happened?

No response

Expected behavior

No response

Screenshots

No response

Version

0.9.1-2c9ef112

Operating system

Linux

Installation method

Some repository (AUR, homebrew, distribution repository, PPA, etc)

Qt version

5.15.2

C++ compiler

gcc-11.2.0

Desktop Environment

n/a

Did you use profiles?

Relevant log output

No response

Backtrace

No response

deepbluev7 commented 2 years ago

Have you tried just switching rooms? Nheko caches the sticker model for performance, if you keep the same room open (although we probably should invalidate that on sticker changes).

tastytea commented 2 years ago

That works — sometimes. Sometimes the stickers appear without switching, sometimes after 1x switching, sometimes I need to switch several times.

Cadair commented 1 year ago

I just hit this as well, so bump :stuck_out_tongue:

Also, it wasn't showing up for me on a room switch either, only a full restart.

msrd0 commented 1 year ago

This is also a problem when adding room sticker packs to your personal account. Restarting nheko seems to be the only option that works, switching rooms doesn't help either.