https://bugs.kde.org/show_bug.cgi?id=492972
Bug ID: 492972 Summary: Elisa incorrectly reports remaining tracks and time if the playlist was not started yet Classification: Applications Product: Elisa Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: matthieu_gall...@yahoo.fr Reporter: christoph.w...@gmx.de Target Milestone: --- SUMMARY Elisa's playlist has a footer that indicates the total number of tracks, the total runtime, as well as the remaining tracks and runtime. The number of remaining tracks reasonably does not include the currently playing track, and the remaining time even more reasonably does not include the time that the currently playing track has played. Less reasonably though, the currently loaded track is also excluded if it hasn't started playing yet, and with some trickery the same is true for the remaining time; using a somewhat convoluted method it is possible to get the remaining time to vanish completely (I assume because the remaining duration is negative). STEPS TO REPRODUCE Simple case for remaining tracks: 1. Add an album to the playlist then clear the playlist 2. Add another album 3. Note the remaining tracks and remaining time Convoluted case for remaining duration: 1. Load a track with a very long runtime (e.g. unsplit mixtape), play it until it is close to over (or just move the slider), then pause 2. Close Elisa, then reopen it 3. Clear the playlist, and add a short album (for best effect, choose an album that is shorter than the play position of the track from 1) (Clearing the playlist resets the position if a track was played, but not the position loaded on startup) OBSERVED RESULT Simple case above: "5/6 tracks remaining, 36:28 remaining, 36:28 total" Convoluted case: "5/6 tracks remaining,[empty space] remaining, 36:28 total" (if the previous track duration is not longer than the loaded album duration, replace [empty space] with total duration - previous track duration) EXPECTED RESULT Both cases: "6/6 tracks remaining, 36:28 remaining, 36:28 total" SOFTWARE/OS VERSIONS KDE Plasma Version: 6.1.80 (kde-built a day or so ago) KDE Frameworks Version: 6.7.0 (same) Qt Version: 6.7.2 Elisa git master -- You are receiving this mail because: You are watching all bug changes.