Skip to content

[Bug]: Custom mastodon emojis will re-downloaded every time a new post is made #954

Closed
@fabiscafe

Description

@fabiscafe

Describe the bug

The full set of custom emoji will be re-downloaded every time you open a new post and click the custom emoji-picker button. Resulting in high traffic over eventually small time periods.

Steps To Reproduce

  1. Open Tuba
  2. CTRL+T (create new post)
  3. click on custom emoji picker
  4. go back to your timeline (close new post)
  5. CTRL+T (create new post)
  6. click on custom emoji picker
    ^ In this exacmple you will have the full set of custom emoji redownloaded 2 times

Logs and/or Screenshots

This is Tuba on mstdn.social, the first time opening the emoji picker
grafik

This is Tuba on mstdn.social opening the picker 7 times
grafik

This is the tuba log while opening the composer, click on the emoji picker, closing the composer and open it again, clicking on the emoji picker
tuba.log

Instance Backend

Mastodon

Operating System

Arch Linux

Package

OS repositories

Troubleshooting information

os: Arch Linux (null)
prefix: /usr
flatpak: false
version: 0.7.2 (production)
gtk: 4.14.4 (4.14.4)
libadwaita: 1.5.0 (1.5.0)
libsoup: 3.4.4 (3.4.4)
libgtksourceview: 5.12.0 (5.12.0)

Additional Context

This might however not be a tuba-related issue, but mstdn.social or mastodon itself. See https://mstdn.social/@fabiscafe/112501660155684610. In there I was able to recreate this via firefox and mstdn.social-web. However the load was only half of what it is on Tuba.

The command to catch network traffic is

# nethogs -v3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions