lemmy-ui
lemmy-ui copied to clipboard
Post shown isn't always the correct one in background tabs left open over a long time
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
- Post a new post on Lemmy
- Keep it open in a background tab
- After a long while (hours?), come back to it
- Check the displayed post
- Refresh the post
- 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.
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 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 ;)
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.
Yeah I can imagine. My offer still stands if you feel ok trusting an absolute stranger to organize your issues... ;)