deadbeef icon indicating copy to clipboard operation
deadbeef copied to clipboard

can't "delete from disk" via shortcut key

Open shula opened this issue 2 years ago • 2 comments

Steps to reproduce the problem

  1. Assign a shortcut key to "currently.playing track => Delete from Disk".
  2. Play a song / playlist
  3. Press the shortcut key.

I tried with "Shift+Delete" key combo, and then just "Delete".

What's going on? Describe the problem in as much detail as possible.

Couldn't find yet any consistency, BUT both scenarios are faulty:

scenario 1: A) nothing's going on. b) It should've had deleted the file. But the file keeps playing, and remains on the disk.

scenario 2: A) a popup message saying "delete?..." B) error - file is locked. C) result: file is never deleted.

Information about the software:

OS: Windows 10 Deadbeef version: 1.9.1 portable, installer, and latest nightly debug version (2022-08-31)

Background info

  1. maybe it's also a shortcut key problem. IDK.
  2. Maybe the problem is with Windows vs Linux: In Windows, opening a file for reading - locks the file. In order to delete it, it's possible to 1) skip to next song, 2) close the file, 3) delete the file.

shula avatar Aug 31 '22 12:08 shula

I already eliminated the "portable vs installed" option, as both scenarios repeated in both forms

shula avatar Aug 31 '22 12:08 shula

In Windows, opening a file for reading - locks the file.

Yes, most likely this is the root cause.

Oleksiy-Yakovenko avatar Aug 31 '22 12:08 Oleksiy-Yakovenko