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

[dev] Scroll position in album view isn't saved #554

Open
TemporaryAccount0x1 opened this issue Apr 29, 2018 · 2 comments
Open

[dev] Scroll position in album view isn't saved #554

TemporaryAccount0x1 opened this issue Apr 29, 2018 · 2 comments

Comments

@TemporaryAccount0x1
Copy link

When you open leafpic it shows your albums, if you scroll down and go into an album and then press back the scroll position is reset to the top.
Interestingly this behaviour only happens for the album view but not for the images view so if you go into an album and scoll down and then go into an image and then press back the position is saved.
So the position is saved for media but not for albums.

Using dev build based on commit 5a2c821 @ Android 7.0

@aaronallenCS
Copy link
Contributor

could you have a video showing an example? Then I could attempt solving this issue.

@TemporaryAccount0x1
Copy link
Author

TemporaryAccount0x1 commented May 5, 2018

@beastlyCoder

I can't make a video but I can give you some Screenshots:

  1. when I open Leafpic I see this (this is the starting scroll position):
    https://imgur.com/a/c9QQQbI

  2. then I scroll down a bit:
    https://imgur.com/a/xDw6S7D

  3. now I go into the album "Test (5)":
    https://imgur.com/a/xILuKOC

  4. I press back:
    what actually happens is that the scroll is reset to the starting position:
    https://imgur.com/a/c9QQQbI

expected behavior save the scroll position:
https://imgur.com/a/xDw6S7D

not sure if it helps but my sort order is date desc. I retested on the latest commit (33ebb02) and it's still the same behaviour.

edit: as I have noted before when it comes to media (not albums) then the scroll position is saved. So when you're in an album with 100+ media and you scroll down and then go into a media and back the scroll position is saved and you're brought back to the position you were. So this is only an issue for albums not for media itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants