[F] Tags saved to wrong file under specific conditions


#1

Description:

When "Settings > Tags > Save tags when using arrow keys/single mouse click" setting is enabled, clicking anywhere outside left panel causes the tags to be saved to the selected file. However if you click on column header, the file list is reordered prior to save and the tags are being saved to wrong file.

Steps to reproduce:

  1. Ensure you have at least few music files in a directory
  2. Open music directory in Mp3tag
  3. In Settings ensure you have "Tags > Save tags when using arrow keys/single mouse click" enabled
  4. In Settings ensure you have "Messages > after save" disabled
  5. In Settings ensure you have "Messages > after change" disabled
  6. Select one of files and change it's tags in left panel
  7. Click any column header (choose such a header that will for sure reorder the files) to sort files list
Previews (created in v2.82, but the bug exists in v2.82a):
  1. Initial state: https://pasteboard.co/1OKm9BJej.png
  2. File selected and edited (not saved yet): https://pasteboard.co/ibvAfueu6.png
  3. After duration ("Cza...") header clicked: https://pasteboard.co/ibxfRYuoG.png
As you can see I edited "Storm" song, which was 2nd on the list, but after clicking "Duration" column header the list reordered and "Toccata & Fugue" song appeared at 2nd place. Tags got then saved to that file instead.

#2

This is now fixed with the latest Development Build Mp3tag v2.82b. Thanks for reporting!

Kind regards
– Florian