Sappharad / mp3gainOSX

MP3Gain Express for macOS
http://projects.sappharad.com/mp3gain/
96 stars 9 forks source link

Drag and Drop results in two entries for same file with slightly different name #15

Closed Sappharad closed 8 years ago

Sappharad commented 8 years ago

I received a bug report that dragging and dropping a bunch of files from the finder, (not folders) was causing them to appear twice in the list. The duplicates have slightly different filenames and MP3Gain throws errors when trying to process the duplicates.

I haven't been able to reproduce this behavior, nor find any references online to a file drag having two different NSURLs. I already check if files exist before adding them to the list, so apparently the NSURLs resolve but then the duplicates must not after being converted to paths.

The code in the next release will be updated to eliminate code that was targeting versions of OS X older than 10.7. Perhaps that is related to the problem.

Sappharad commented 8 years ago

The user who reported this problem provided really good screenshots showing it happening, but followed up today to mention that it stopped occurring suddenly.

I'm not sure why it happened in the first place, but I'll close this issue until it comes up again.