[BUG] Weird scrolling behavior in queue list

Open
#963 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

The report is a gesture conflict in the queue list: holding a track to drag while tapping “Scroll to playing song” drops the hold or fails to scroll, worse at low refresh rate. Search the Android UI for the queue screen and that scroll action; inspect how list drag and programmatic scroll interact. Reproduce with the given steps. Done when scroll-to-current works while a drag is held, including below 60 fps. No files or tests are named in the issue.

Written by the indexing model from the issue text.

Description

need confirm

Describe the bug
When I open the queue list, scroll down a bit and hold a song to slide it up fast by clicking "Scroll to playing song", instead of taking me to the now playing song, it just ignores the song i was holding. Sometimes, it does work but I need to click "Scroll to playing song" multiple times. I will attach a screen recording to explain it better.

To Reproduce
Steps to reproduce the behavior:

  1. Go to gramophone and open any song
  2. Click the queue button and scroll down
  3. Hold any song to drag it to under the currently playing song
  4. Click "Scroll to currently playing song"
  5. See the error

Expected behavior
When I click "Scroll top playing song" while holding another song, I expect it to actually scroll to to current song.

Screenrecording
https://t.me/c/2007202545/535567

Smartphone (please complete the following information):

  • Device: OPPO A78 4G
  • OS: ColorOS 15 / Android 15
  • App Version: 1.0.17.d8b10ba

Additional context
I said before that it actually sometimes behaves how I want it to but only if my screen's refresh rate is above 60. As i was screenrecording, the fps was clearly below 60 so it didnt behave as intended. Instead, i lost the song i was trying to drag under the currently playing song.

  • I will open one issue per bug, follow the issue format and will add [BUG] to the start of my issue title, and I acknowledge that if I don't follow the format, my issue might get closed without further explanation.
Dominant language
Kotlin
Stars
2.3k
Forks
136
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from FoedusProgramme/Gramophone

All issues in FoedusProgramme/Gramophone

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.