QuantumBadger / QuantumBadger/RedReader

Problem with handling long threads combined with focus loss

Open
#1,357 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.7k
Forks
527
Avg merge
20d 10h
Merged PRs (30d)
3

Description

Version: 1.25.2
Android: 16

Long threads (with hundreds of post) are split. The first part is loaded without any issue. The second part is loaded post for post. That is relative slow but works. But if the app loses focus (another one is used for some time, say some seconds) and RedReader get focus again (is shown on the display), there are a reproducible issue: Often no further post can be loaded due to a connection problem. That seems to depend on the time RedReader is out of focus (if is are few seconds the issues seems not to occur). That is very inconvenient if you reads threads with multiple thousand posts.

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

Reproduce the issue with a thread containing hundreds or thousands of posts, then leave RedReader unfocused for several seconds and return to it. Trace the code responsible for loading the split thread's second part and handling focus or lifecycle changes. Done means post loading continues reliably after returning to the app without the reported connection problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.