Bug 437096 - Weird remaining tracks behaviour
Summary: Weird remaining tracks behaviour
Status: RESOLVED INTENTIONAL
Alias: None
Product: Elisa
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.04.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-14 15:40 UTC by akm
Modified: 2021-05-18 20:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akm 2021-05-14 15:40:54 UTC
SUMMARY

When in Elisa you have the "do not repeat tracks"  button selected and you then press the random button several times the remaining tracks numbers go all over the place.  I have 4220 tracks and the remaining will go from as low as 200 to as high as 3900

STEPS TO REPRODUCE
1. have a list of tracks on the right side
2. have "do not repeat tracks" enabled
3. press the random button a few times

OBSERVED RESULT

Remaining tracks goes all over the place

EXPECTED RESULT

I would except the remaining be max track -1 (as it is when you do it first time) and have the tracks just change order on the right with the first track / playing track at the top of the list and the others all below it

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Tumbleweed
KDE Frameworks 5.82.0
Qt 5.15.2 (gebouwd tegen 5.15.2)
Het xcb venstersysteem

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-05-18 20:39:56 UTC
It's because the currently playing track switches position due to being shuffled. If it was previously in a position where it had 13 tracks after it, it could easily move to a position where it has 2 or 50 tracks after it after the shuffling. So the number of remaining tracks is simply updating itself accordingly.