Bugzilla – Bug 1440
Cancelling Export Multiple by labels containing illegal characters exports the cancelled file with empty name.
Last modified: 2018-08-20 11:51:36 UTC
(I intend to create a new Export Multiple group in the Release Note, it is not a mistake).
DEVEL-FIX MADE https://github.com/audacity/audacity/commit/7c7fc55bc254cef279202f87ba9bbce87d2ae065 I made exporting tracks more like labels too, in that they too continue on with exporting after a bad name. Cancelling the metadata editor still behaves as before. Is that what we want? I don't know. But if it isn't what we want, we need to write up somewhere policy on cancelling of multi-step operations, chains being another case.
Testing on Mac El Capitan rcf2625a For the second track with the illegal character the export dialog now pops up a fresh dialog labelled "Save As..." - it enables the user to change the filename to be exported to but it already replaces the illegal character with an underscore so th user can just accep that. But becuase the only Mac illegal character is a colon the warning message looks a little odd: " ... You cannot use any of::" That double colon, while strictly accurate, looks more than a little odd imo. Also when there is only one illegal character the "any of" doesn't really apply.
Tests ok on W10 audacity-win-rcf2625a-2.1.3-alpha-18-jul-16 But here the warning message looks ok as there are several illegal characters and the illegal colon is not next to the grammar colon.
RESIDUAL - FIX MADE :-) https://github.com/audacity/audacity/commit/b56ea0599b935a677cbbe449bc4a6ad57a45eafd
(In reply to James Crook from comment #4) Looking good on Mac El Capitan 43b4d3c 08Aug16 Residual issue on Mac fixed nicely And still oks good on W10 audacity-win-r43b4d3c-2.1.3-alpha-08-sep-16
Tested the behaviour with Export Multiple by labels OK on Linux. (In reply to James Crook from comment #1) > I made exporting tracks more like labels too, in that they too > continue on with exporting after a bad name. Sounds good, but there is a crash problem if you cancel the character replacement (bug 1510). > Cancelling the metadata editor still behaves as before. Is that what we > want? I don't know. Nor me. But if you have dozens of tracks and want to abort the whole export multiple, cancelling dozens of Metadata Editors will get annoying. Perhaps have a dialogue choice if you cancel Metadata Editor in Export Multiple: ( ) Abort entire Export Multiple process ( ) Abort just this export and continue.
Bug 1510 exposed a mistake in the 'fix' for this bug and the commit to resolve 1510 means that this bug needs to be retested.
(In reply to James Crook from comment #7) > Bug 1510 exposed a mistake in the 'fix' for this bug and the commit > to resolve 1510 means that this bug needs to be retested. Done. I tested Export Multiple by labels and by tracks. Tried stereo tracks, mono tracks, mixture of mono and stereo tracks, offset tracks and Export Multiple by labels and by tracks when there was also a label track. Also tested that entering a name or prefix with illegal characters in either text box in Export Multiple was trapped by Save As... . Tip: Perhaps when you reopened this bug you should have reset the flags so that it did not appear tested.