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

Translation sometimes won't save its place #1533

Closed
ahmedre opened this issue Jan 8, 2021 · 8 comments
Closed

Translation sometimes won't save its place #1533

ahmedre opened this issue Jan 8, 2021 · 8 comments

Comments

@ahmedre
Copy link
Contributor

ahmedre commented Jan 8, 2021

Someone sent this bug and I was able to repro -

  1. add an ayah bookmark for the first ayah in the page.
  2. go to home screen and then to bookmarks, and tap that bookmark
  3. go to translation mode and scroll to the very bottom
  4. press home to go to the launcher
  5. tap the Quran icon again

expected: you stay at the same place
actual: you end up scrolling to the bookmarked ayah

i found that if you do this without a bookmark, the restoration is fine.

@ahmedre
Copy link
Contributor Author

ahmedre commented Jan 8, 2021

brother says it also happens without a bookmark and sent this video - but i can't repro this case, only the one above.

20210108233011.mp4

@MustafaI
Copy link

Assalamu alaikum,
I've been looking through the codebase as I'd like to re-use parts of this project with another open source project. I thought it'd be a good idea to work on some bugs so I can get a better understanding of the codebase.

With regards to this bug I think the video the brother sent may be demonstrating a different issue, where the expanded tafsir is truncated when the activity is restarted after being stopped (going from app -> home -> app). Would this also be an issue? I can reproduce this as well as the issue you mentioned above.

Jazakallah khair

@alimsyed
Copy link

@MustafaI brother, were you able to work on this? if not please let me know and I could start working on this.
Salam Aliekum

@MustafaI
Copy link

@alimsyed Waalaykum assalam. I don't recall making much progress on this and unfortunately I won't be able to work on it for a while. Feel free to start work on it.

@mostafazakaria
Copy link

Al salamu Alaikum,

Is this issue still valid? I am asking because last update was 3 years ago, so before starting it I wanted to make sure it is not fixed already or if anyone else is working on it.

I tried to reproduce the issue. It doesn't happen when I open the translation screen, but it happens when I do the same scenario while the translation bottomsheet dialog is opened while have the Surah and translation together open.

@ahmedre
Copy link
Contributor Author

ahmedre commented May 6, 2024

wa3laikum alsalam,
someone recently complained about it, but as you said, in the bottom sheet dialog, not the full screen version. a PR would be welcome!
jazakumAllah khairan.

@mostafazakaria
Copy link

I have checked the issue and it doesn't happen on latest main. It was fixed in this PR I can confirm that it is fixed as I tested it before and after the PR. So I think this issue can be marked as resolved.

@ahmedre
Copy link
Contributor Author

ahmedre commented May 8, 2024

JazakumAllah khairan forgot about that

@ahmedre ahmedre closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants