Skip to content

Slow UI if queue is long #627

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

Open
1 task done
miguel7501 opened this issue Aug 12, 2023 · 2 comments
Open
1 task done

Slow UI if queue is long #627

miguel7501 opened this issue Aug 12, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@miguel7501
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I've noticed that if the queue is long (like when playing from my 2500 liked songs), switching songs and generally navigating the UI will make the app hang for 20-30 seconds. That doesn't happen when playing from a shorter playlist.

I also noticed that once I'm in the view with the album cover and song controls, bringing up the queue is instant and I can scroll the entire queue without hiccups where the official spotify app builds the queue while scrolling.

Expected Behavior

The UI shouldn't hang, so I suggest leaving the queue in memory and only updating it when it changes, maybe with delta updates or in a separate thread from the UI.

Steps to reproduce

Play music from liked songs or a long playlist (I suggest the Synthwave/Retrowave/Chillwave playlist by moodwave records as it has over 400 songs and makes this happen consistently)

Observe the lack of smoothness

Operating System

Android

Spotube version

3.0.1

Installation source

F-Droid (Android)

Additional information

No response

@miguel7501 miguel7501 added the bug Something isn't working label Aug 12, 2023
@KRTirtho
Copy link
Owner

Please correct the title

@miguel7501 miguel7501 changed the title Write the title here Slow UI if queue is long Aug 13, 2023
@ghost
Copy link

ghost commented Aug 19, 2023

ui is some times slow even if queue is like 7 songs, when skipping multiple songs its gets frost. pls fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants