wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.96k stars 1.31k forks source link

Reader: missing posts #5491

Closed designsimply closed 5 years ago

designsimply commented 7 years ago

Expected behavior

All posts that I see at https://wordpress.com/ with a browser also appear in Reader on WPAndroid.

Actual behavior

Posts are missing in Reader on WPAndroid compared to viewing on the web.

Steps to reproduce the behavior

  1. Go to Reader in WPAndroid and browse posts.
  2. Look for any large gaps in time such as from 5h to 2d.
  3. Compare to https://wordpress.com/ in a browser to see if any posts are missing while viewing Reader in WPAndroid.

Note: I don't check Reader on WPAndroid every day. I can't remember exactly, but it's likely I haven't checked Reader on WPAndroid in 2d and that could be why the gap starts at that time for me.

screenshot_20170323-161509

screen shot 2017-03-23 at thu mar 23 4 16 59 pm

Maybe related: #3908

Tested on Pixel, Android 7.1.1, WPAndroid alpha-40
catehstn commented 7 years ago

I sometimes see this on the web - especially after the weekend when it's like it doesn't load all the posts that happened between then and when I last refreshed.

KokkieH commented 7 years ago

Another report of this via 850116-f

The user reporting this is using Android 6.0.1, WPAndroid 7.0

I was also able to confirm on a Nexus 5X, Android 7.1.2, WPAndroid 7.1

mikeyarce commented 6 years ago

I came to report this today! I've been noticing this a lot and it basically means I can't use the Reader for the Android app because it misses too many posts.

Today I found it missed 37 posts, whereas just using the browser showed everything. I've reported this in the past and the suggestion has been to just log out and log back in. I think doing that will clear the Reader cache but at this point, I would need to do that every day in order to use the Reader.

I also wanted to say this is not specific to Android, but I have noticed this on the Desktop app as well. So I think it might be more of a Reader thing than an Android App thing.

Pixel XL, Android 8.1.0, Version alpha-88

blowery commented 6 years ago

On the web, we have a protocol for detecting gaps between the most recent set of updates and the most recent posts we have loaded. You can see that by visiting https://WordPress.com/?at=2017-01-01 and waiting for the update pill. Click the pill and scroll down and you'll see a "load more posts" button and will start to fill the gap.

I thought the native apps had gap detection as well, but perhaps not? It works by comparing the last item in the update set to the first item in storage. If they're different, we mark a possible gap in the stream and show the according UI.

We've been thinking about ditching the UI piece and just filling the gaps automatically, but have not written any code to do it just yet.

blowery commented 6 years ago

I also wanted to say this is not specific to Android, but I have noticed this on the Desktop app as well. So I think it might be more of a Reader thing than an Android App thing.

That's more troubling. Is it mostly in the a8c stream, or the main following stream, or both?

mikeyarce commented 6 years ago

@blowery Good questions! I should add that I normally see this when I use the "Load more posts" button - it just doesn't load all the missing ones. I don't use the Reader for non-A8C stream Reading very much, but I will start looking at my regular stream to see if I notice any gaps.

I'll keep an eye on my Desktop App again. When I opened it just now it needed an update, so I'll see if it's happening still after the update.

catehstn commented 6 years ago

Saw this again today. Contender for hack week, @koke ?

loremattei commented 5 years ago

I'm reopening this since it has been reported again with the last version of the app.

designsimply commented 5 years ago

This came up in a mobile request with the following description:

For example, I’ll see a post in my Reader that says it was posted 8 hours ago and the next post says it was published 3 hours ago…a 5 hour gap. But when I open up Safari or Chrome on my iPhone and log into WordPress and go to the reader, there is no such gap. All the “missing” posts between 8 hours ago and 3 hours ago are there.

(internal references: p4a5px-2mT-p2, 1852243-zen)

designsimply commented 5 years ago

Escalating from [Pri] Medium to [Pri] High because it has come up several times and we need to determine whether this is an issue that needs to be solved at the API level or whether it can be resolved within the WordPress mobile apps directly.

thehenrybyrd commented 5 years ago

Another app user has reported this in 1925152-zen. Samsung SM-G930V, WPAndroid 12.0 The user sent us this screenshot: readergap

I was able to check what should have been in their reader at that time:

noreadergap

And there are many many posts after that Biden post and before the Sandwich Shop post.

designsimply commented 5 years ago

Noting some testing steps @oguzkocer helped me with:

  1. Sign up for a new account at https://wordpress.com/start/user
  2. Go to Reader > Followed Sites > Manage and unfollow everything.
  3. Follow oguzkocertest.wordpress.com.
  4. Log in to WPAndroid.
  5. Go to Reader and refresh the list.
  6. Go back to a browser (any other client) and follow another site such as longreads.com.
  7. Switch to the Discover list.
  8. Follow one of the sites from that list you weren’t following before.
  9. Go to WPAndroid > Reader > Followed Sites.
  10. Pull to refresh.
  11. Scroll 19 posts.

Result: I see a gap but there is a clear separator and button named “Load more posts”. However, it appears some people do not get the "Load more posts" button and that's where the problem is happening.

Screenshot_20190419-111640