metatext icon indicating copy to clipboard operation
metatext copied to clipboard

Timeline jumps when new toots loaded while scrolling

Open alexbbrown opened this issue 3 years ago • 5 comments

Describe the bug while reading somewhere down the federated time line and scrolling, the content suddenly shifted and the toots I was reading are replaced by others

To Reproduce Steps to reproduce the behavior: Read the federated timeline, scroll down a few screens. Wait for it to update

I have experienced this while scroll dragging was active. It's unclear if that Is necessary to evoke the issue

Expected behavior A clear and concise description of what you expected to happen.

If I am scrolling down the federated timeline, the toots onscreen should remain onscreen even if more toots arrive further up the timeline

actual, if I'm looking at toots X, Y and Z onscreen, sometimes they are replaced by tools P, Q, R. I then have to scroll down to find the toots I was viewing

Suggestions

If the timeline detects more toots available it could

  1. show a more toots button. If I tap it, take me there. If I don't tap it, continue to display the toots I am looking at
  2. Recall what toots are onscreen. If the scrollable region changes, recompute my scroll positon so the toots I was viewing are still in the same position on screen

Screenshots If applicable, add screenshots to help explain your problem.

(please complete the following information):

  • Device: iPhone 12
  • OS: 16.1.1
  • App Version 1.6

Additional context i have dynamic type 120% turned on.

alexbbrown avatar Nov 21 '22 19:11 alexbbrown

Oddly this event (which happens about 20% of times I use Metatext) is NOT accompanied by the "new toots" message.

UPDATE; in my video example below it IS associated with that.

alexbbrown avatar Nov 21 '22 23:11 alexbbrown

Example :

Here I force the issue by entering a toot, exiting and quickly entering scroll mode.

After a short time new toots are announced and the displayed tweets disappear and are replaced by others. I interpret this as an unwanted change or incorrect change of scroll position. Note the scroll bar motion also, which unexpectedly moves UP. (You might expect to see it move down as more toots appear at the top of the timeline

https://user-images.githubusercontent.com/2532344/203402778-39379da1-6085-4686-838e-200ed33cab14.mov

alexbbrown avatar Nov 22 '22 19:11 alexbbrown

As you know, unexpectedly losing track of the tweets you were looking at is one of the chief complaints people made against the Twitter client, so addressing this here would be a good QOL fix

alexbbrown avatar Nov 22 '22 19:11 alexbbrown

A related issue affects the … menu on a toot.

If a … menu is open on a toot while new toots are downloaded, the

menu

  • moves onscreen to be somewhere else; not clearly associated with the original toot
  • Changes content sometimes : for example if the original toot was mine the menu starts with "delete" but will lose that option after the update

alexbbrown avatar Nov 22 '22 19:11 alexbbrown

https://user-images.githubusercontent.com/2532344/203408832-3a9619c5-01e4-4c07-9d98-09de4551f281.mov

alexbbrown avatar Nov 22 '22 20:11 alexbbrown