-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
Mark news as read #590
Comments
Well.. It's a feature :) ... just kidding .. yea.. I think it's because the scrolling is "too fast". I think that the listview is not triggering the "scroll" event fast enough. The result is, that some rows will be skipped (not marked as read). Since you are scrolling really fast I guess you are not interested in the feeds and you simply want to mark them as read, right? Maybe you can use the option "mark all as read" instead. |
Yes and no. Sometimes I read the headlines of the feeds very fast and they ain't marked as read.... |
Did the update solve the problem? Or is it still buggy? |
This works better, yes! Good job! |
Yes, that is true. What would be the expected behavior? I was thinking about marking them as read automatically. However, if you open a list by accident (which has less unread items than the screen-height), all items in this list will be marked as read. And you have to unmark them manually. That's why I decided to leave the user to mark those items as read manually. |
Thanks for the suggestion. It is not that trivial to add such an additional line. Furthermore there is a "risk" involved here. Assume the following case: Let's say your screen can contain 8,1 Elements. And you have 8 unread items in a feed. Therefore by opening the feed you would see all 8 items and you can't scroll since they all fit on the screen. Adding an additional line would require the user to scroll down in order to see, that the last item is only there to mark the above as read. But as the user scrolls, the list will be marked as read anyways. Just a little paradox.. In terms of simple design I would prefer no additional visual elements. Maybe I can check if the users touches the list (does a scroll movement) that the all items in the list will be marked as read. |
Yes, you're right with your example. What about this solution: |
I was using feedly before (and finally migrated over to my nextcloud with news now) ... I liked their android app, they are swiping whole pages instead of scrolling the items. So let's say you have 10 feed items per page, then you swipe up get the next 10 and so on and the last page was a single page with just one button "mark all as read" ;) |
In the latest F-Droid-version has the behaviour changed. |
@derflasher No, we did not intent to get this kind of behaviour. As you can see in #633 we had some problems when the list is almost empty, the swipe/scroll was not recognized. Therefore we changed the swipe detector. I need to investigate this issue a little more to give some more feedback. ping @AnotherDaniel |
@derflasher can you explain in detail what you are doing to get the undesired behavior? |
Sure, you've got mail :-) |
@derflasher thank you for the video - and: crap, it definitely shouldn't do that, and I can't replicate this yet. What are your general settings? |
@AnotherDaniel Just watched the video and I think the reason is, that the swipe is performed "over" the recyclerview. Therefore the recyclerview is picking up that event. Also the swipe in the video is going upwards (downwards shouldn't be a problem). I guess the "mark as read while scrolling" feature is enabled. I think the following line is the problem: Line 501 in 17d52a5
There is also a second line that is calling the scroll event (however that line shouldn't be problematic..): Line 418 in 17d52a5
Another important prerequisite: The number of unread items might not exceed the screen. Since we're already on the bottom of the screen, all remaining items will be marked as read. Line 480 in 17d52a5
|
|
Ok - I'm on a business trip this week, so can only have a more detailed look at this Friday-ish; but I just managed to replicate the undesired behavior so that's something... |
(cherry picked from commit bca3756)
(cherry picked from commit bca3756)
#590 - attempt to fix inadvertet mark-read on menu-bar pull
I think this is fixed now thanks to @AnotherDaniel. If you encounter any further issues.. please let me know and reopen! |
Hi there!
When I scroll too fast through the news, sometimes the news aren't mark as read while using this function.
Is it a bug or a feature?
The text was updated successfully, but these errors were encountered: