I think I fixed all new bugs in the new timeline that have been reported. Anything else I need to take care of?
#Tusky #tuskydev

@ConnyDuck

TL;DR: "Load more" behaviour is inconsistent in the latest builds.

I have my feed set to "Oldest first". So when I fire up Tusky, I'm taken to where I left off. I scroll upwards through the feed, reading newer messages. Eventually I come to a "Load more" bar. I click on it.

Previously, new messages were loaded ABOVE the bar, so the last message I had read (below the bar) was still on screen with the newly-loaded ones above. I could continue as normal.

Now, the new messages are sometimes loaded BELOW the bar. So, in effect, I've been skipped forward. The last message I read is now some way down my feed and I have to scroll back down to (try to) find it so I can continue where I left off.

This doesn't happen every time and I've been trying to find a pattern. I think, though I'm not completely sure, that if "Load more" doesn't load all of the missing messages (so the bar stays there ready to load another batch) the messages get loaded below. But if it is able to load all missing messages, it loads them above.

Hope that all makes sense.

#Tusky #TuskyDev

@ratcatcher what device and Android version are you on?

@ConnyDuck

Android 14 on a Tab A11 Pro_EEA_V28 tablet.

@ratcatcher I set up a tablet emulator and tried to reproduce this several time, but seems fine here. You always find the bugs that are the hardest to fix 😅

@ConnyDuck

I can reproduce this consistently. When I reach a "Load more", and click on it, one of two things happens:

1. The "Load more" disappears and the new messages are pasted above where it was (and above the last message I read, which is expected behaviour).

Or:

2. The "Load more" remains and new messages are pasted below it. If I click on it again, it disappears and the next lot of messages are posted above where it was (as per 1).

So the problem only manifests when there are too many messages to paste in one "hit".

#Tusky #TuskyDev

@ratcatcher Wait isn't this expected behavior? When a gap has more than one page of posts, it is filled with

<Load more>
<loaded posts>
Position is at the oldest loaded post
(when "oldest first" is active)

OR

<loaded posts>
<Load more>
Position is at the newest loaded post
(when "newest first" is active)

@ConnyDuck

Not sure I understand what you're saying.

If, when I click on "Load more", and there are too many new posts to load in one go (so the banner stays), I would expect them to be loaded ABOVE the banner.

That way, the last post I read is still the one BELOW the banner and I am still at the correct point in my timeline.

If the new posts are loaded below the banner, then the last post I read is pushed down the feed and I have been skipped forward in my timeline by however many messages were just pasted in. So I've effectively missed all of those pasted-in messages unless I manually scroll back down to try to find the last message I read.

#Tusky #TuskyDev

@ConnyDuck @ratcatcher I haven't paid attention but I'll try to see if I notice this. I understand what they're saying. Load more should always append new content in the direction I am scrolling (based on the older first or not setting).

@gryzor

Exactly - that's it in a nutshell.

@ConnyDuck

@ConnyDuck

Re-reading your post, the behaviour when "oldest first" is active is not as per the first scenario above.

So, before I click on "Load more" I see:

<Load more>
<last post I read>

After I click on it I see:

<Load more>
<chunk of new posts with most recent at top>
.
.
.
.
<oldest of new posts>
<last post I read>