Docile-Alligator / Docile-Alligator/Infinity-For-Reddit

Change in network connection with data saving mode turned on causes infinity to jump to top of posts and comments

Open
#433 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: high type: confirmed bug
Dominant language
Java
Stars
5.5k
Forks
521
Avg merge
1d 23h
Merged PRs (30d)
1

Description

Steps to reproduce:

  1. Enable "Data Saving Mode" in settings (I have it on as "Only on Cellular Mode")
  2. Enable Mobile Data and turn off Wi-Fi
  3. Browse so that a post is cut in half at the top side of the screen
  4. Disable Mobile Data
  5. Infinity will jump back up to the top of the post

Expected result:
Infinity should not move the posts.

Video of bug:
https://user-images.githubusercontent.com/23507259/128879131-762bff1f-41c4-4455-b3b5-2a8b57db04c7.mp4

This bug also occurs when the network automatically changes (e.g. from 3G -> 4G), which can be frustrating when browsing reddit during a car journey for example. It also occurs for comments, i.e. repeat the process above but cut a comment in half instead.

Contributor guide

No contributing guide indexed for this repository

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 by reproducing the jump with Data Saving Mode while browsing posts and comments, including an automatic network change. Then trace the post and comment scrolling behavior around network changes; done means the visible content keeps its position when connectivity changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
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.