lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

Post shown isn't always the correct one in background tabs left open over a long time

Open 7heo opened this issue 1 year ago • 4 comments

Issue Summary

After leaving a background tab open, and coming back to it, the displayed post is sometimes different than the one the URL of the tab points to. For example, How the web became unreadable became Lemmy’s iOS Jailbreak community is dead so i made a new one., and everything went back to normal after a refresh.

Steps to Reproduce

  1. Post a new post on Lemmy
  2. Keep it open in a background tab
  3. After a long while (hours?), come back to it
  4. Check the displayed post
  5. Refresh the post
  6. Compare the displayed post

Technical details

I am using Firefox 102.10.0esr from Kali x86_64.

I suppose this bug is related to #1093.

7heo avatar Jun 06 '23 13:06 7heo

This is almost certainly a websocket related bug. I can leave it open, and then after we finish the HTTP rework, see if its still an issue.

dessalines avatar Jun 06 '23 13:06 dessalines

@dessalines could you then please create a "on-hold" label for issues and assign that label to both #1093 and the current issue? Also it would be good to have a milestone for 'http-rework' and one for what comes after (if you have any idea, otherwise 'post-http-rework') and assign that milestone to both issues. So people know what's up at a glance ;)

7heo avatar Jun 06 '23 14:06 7heo

Sure. Once I get some time, I'll go through the lemmy-ui and jerboa repos, and organize them, and try to create more tags. Bit overloaded recently obviously.

dessalines avatar Jun 06 '23 16:06 dessalines

Yeah I can imagine. My offer still stands if you feel ok trusting an absolute stranger to organize your issues... ;)

7heo avatar Jun 06 '23 18:06 7heo