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

Don't auto-scroll list of images #204

Open
forteller opened this issue Sep 20, 2024 · 2 comments
Open

Don't auto-scroll list of images #204

forteller opened this issue Sep 20, 2024 · 2 comments

Comments

@forteller
Copy link

When you open Fotema after having added more photos to your folder, the list of photos are updated twice: First just to add placeholders, then again after miniature images have been created.

On these updates you're automatically scrolled down to the bottom of the list of images if you've started scrolling up. This is annoying when you've started looking for something and have to start again. Hope this can be fixed. Thank you! :)

@blissd
Copy link
Owner

blissd commented Sep 20, 2024

This is a side-effect of Fotema trying to give you a usable UI as soon as possible. Fotema will load the photos it already knows about, and then reload if it detects any changes. The scroll is caused by the the photo album grid being cleared and the all photos added back again.

A solution might be to use one of the insert methods on the album's TypedGridView to avoid removing all the existing photos, but that will come at some complexity to insert items into the right indexes (and to remove any photos that are now gone). I haven't experimented with this, though, so I'm not sure if it will help.

@blissd
Copy link
Owner

blissd commented Sep 21, 2024

Hmm... there is a bug, too 😞 In my current testing of the next feature I'm working on I see that the library is reloading a second time even when there are no changes.

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