vitorpamplona / amethyst

Nostr client for Android
MIT License
1.14k stars 156 forks source link

[BUG] Time-line opens at random position when opening app #571

Open stevenroose opened 1 year ago

stevenroose commented 1 year ago

I file this as a bug on purpose, because this basically makes the app unusable at this point.

I don't understand how amethyst users use this app currently, but I expect to use a microblogging app by always scrolling upward into the content I have not yet read, continuing the next time I open the app. Occasionally reaching the top and closing the app in that case, expecting it to open next time at the position of the last post I read.

Currently, the app opens on each occasion in a seemingly entirely random position. Sometimes at the top, sometimes 5 days in the past in the middle of a bunch of posts I already read. I don't even know what I'm supposed to do in that case.

vitorpamplona commented 1 year ago

Users generally just press the home button to go to the top, or pull from the top to update the feed.

We don't have a local database yet. Thus, there is no way to close the app and restore a full feed with a position in it. The app opens on the first item your relays sent you. Then it highly depends on the speeds of your relays of choice and what they choose to send first.

OrigiSize commented 1 year ago

@vitorpamplona Even on a fast connection when I hit home it takes a couple seconds before the view stabilizes. What do you think about allowing the view to climb up to the latest known post for that first two seconds?