nextcloud / nextcloud/talk-android

duplicated items in SharedItemsActivity

Open
#2,855 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
Kotlin
Stars
739
Forks
321
Avg merge
14h 59m
Merged PRs (30d)
151

Description

Steps to reproduce
  1. open SharedItemsActivity
  2. scroll down fast and often (before next items are loaded)

issue:
the SharedItemsActivity shows duplicated images (or generally any items, i guess)
The actual number of loaded items is higher, so data is loaded multiple times and added to the result (so it's not a recycler view problem)

Testing:
can be tested on c.n.c. for the "nextcloud Internal" room. just scroll around and then images are duplicated..

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the SharedItemsActivity entry point and trace how rapid scrolling requests and appends the next items. Reproduce with the "nextcloud Internal" room on c.n.c. by scrolling before loading finishes, then verify that the loaded item count and displayed images contain no duplicates.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.