Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: User profile statistics (such as followers count) not updated until app restart #674

Closed
nekohayo opened this issue Nov 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@nekohayo
Copy link

Describe the bug

If you leave Tuba running (without suspending the computer etc.) and you gain some new followers while it is running, you get the notifications for those followers but Tuba does not update the counters in your user profile, so you have a mismatch between Tuba and the Mastodon web UI, as seen in the screenshot below.

Steps To Reproduce

  1. Gain more followers
  2. ???
  3. PROFIT Open the PROFILE!

Logs and/or Screenshots

image

Instance Backend

Mastodon

Operating System

Fedora 39

Package

Flatpak

Troubleshooting information

os: GNOME 45 (Flatpak runtime)
prefix: /app
flatpak: true
version: 0.5.0 (production)
gtk: 4.12.3 (4.12.1)
libadwaita: 1.4.0 (1.4.0)
libsoup: 3.4.3 (3.4.3)
libgtksourceview: 5.10.0 (5.10.0)

Additional Context

No response

@nekohayo nekohayo added the bug Something isn't working label Nov 30, 2023
@GeopJr
Copy link
Owner

GeopJr commented Nov 30, 2023

Has been (or at least should be) fixed by #616

Context: Tootle did caching manually based on reference counting rather than what the server asked. That means that as long as the account object is not freed from memory or manually removed from the cache, it will stay the same. That led to some headaches with stuff like profile editing, pinning posts or updating post interaction counters. #616 leaves cache up to libsoup instead which is based on the server, if the server asks, either time based or with etags

@GeopJr GeopJr closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants