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

Toggling translation on a post with images causes the images to change to ones from other posts #954

Open
spaceghost24 opened this issue Dec 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@spaceghost24
Copy link

Describe the bug

If I click "translate" or "show original" on a post with an attached image that is written in another language, the images on the post are temporarily replaced with another image from the feed. Usually it's whichever image was last scrolled over, but it's not always consistent. Scrolling away and then back without clicking anything resets the images back to normal.

Posts with two images were replaced with two different images from elsewhere in the feed, or sometimes if I'd only scrolled over one other image, the original second image replaced the first image and the other image replaced the second image. I'd assume this scales to more than two images, but don't have any handy in my feed to test this with.

Both of the posts I've tested this on are in French and I'm translating them to English, in case that makes a difference.

To reproduce

Steps to reproduce the behavior:

  1. Go to a feed with multiple posts with images, at least one of which is able to be translated
  2. Scroll past one of the other images on the feed (either above or below) and then back to the translated post, and toggle translation again. You might need to repeat this step a couple of times (there might be some condition for speed or how far over the post you scroll or something that I'm missing, but it doesn't happen every single time)
  3. See error

Does this happen in the official app?

Does this issue also occur with the respective upstream release?

No (tested with the version from the Play Store)

Screenshots and screen recordings

Screen recording showing me translating a post in french and its image being replaced with two separate images from the feed (one of which I scroll over in the video and the other of which I don't, but that is from a couple of posts down), as well as the image being reset when I scroll away and then back
https://imgur.com/a/1pz1C8b

Version

Megalodon version: v2.1.6+fork.110

@spaceghost24 spaceghost24 added the bug Something isn't working label Dec 25, 2023
@GwenTheKween
Copy link

I've just ran into this same bug, translating a post from German to English, so it's probably not related to the languages themselves.

I'm using the most up-to-date version on Google play store, which is the same as the original reporter

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