This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8986 - File deletion target changes with trackchange - therefore 'wrong' file deleted
Attached to Project:
Rockbox
Opened by Eddy (bascule) - Monday, 12 May 2008, 10:39 GMT+2
Last edited by Steve Bavin (pondlife) - Tuesday, 13 May 2008, 15:51 GMT+2
Opened by Eddy (bascule) - Monday, 12 May 2008, 10:39 GMT+2
Last edited by Steve Bavin (pondlife) - Tuesday, 13 May 2008, 15:51 GMT+2
|
DetailsThis bug occurs when playing back a file and choosing to delete it from the WPS context menu while it is still playing.
If a trackchange occurs between choosing a file for deletion and actually pressing the 'Yes' option, the *new* currently playing file is deleted, rather than the one originally selected for deletion. For example using the following playlist: a.mp3 b.mp3 c.mp3 d.mp3 If b.mp3 is playing and a few seconds before the track ends, the user selects [context menu] > Delete The screeen displays: Delete? b.mp3 SELECT = Yes Any Other = No Wait until c.mp3 commences playback, then press SELECT The screeen displays: Deleted c.mp3 http://forums.rockbox.org/index.php?topic=16785.0 refers. |
This task depends upon
Closed by Steve Bavin (pondlife)
Tuesday, 13 May 2008, 15:51 GMT+2
Reason for closing: Fixed
Additional comments about closing: Hopefully r17494 should sort this out.
Tuesday, 13 May 2008, 15:51 GMT+2
Reason for closing: Fixed
Additional comments about closing: Hopefully r17494 should sort this out.
should the option be removed?
However, unless the method by which the code determines the target file cannot be fixed, then maybe it should, as it is certainly not the behaviour that a user would expect and it will occur at exactly the time when a user is most likely to use the functionality i.e., at the end of a track.
ok, a patch to fix the problem would be more than welcome....
Thanks Steve, that patch works perfectly for me. Is it able to be commited?
My untrained eye doesn't see anything in the code or the functionality that could upset anyone...