Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 696 - Windows: Label Tracks named with certain illegal characters do not respond to Export Labels command
Windows: Label Tracks named with certain illegal characters do not respond to...
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Labels
2.0.6
PC Windows (all)
: P4 Repeatable
Assigned To: Default Assignee for New Bugs
: labels
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-14 12:11 UTC by Gale Andrews
Modified: 2018-08-20 11:45 UTC (History)
4 users (show)

See Also:
Steps To Reproduce:
1. Use : / " < and | in a label track name. 2. Attempt to export labels.
Release Note:
First Git SHA:
Group: LabelTrack
Workaround:
Closed: 2018-08-20 00:00:00
gale: Regression+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2013-12-14 12:11:28 UTC
Problem introduced in 2.0.2-alpha (between 29 June 2012 and 23 August 2012). It could be that the enhancement in http://code.google.com/p/audacity/source/detail?r=11886 to prefill the exported label name with the track name needs tweaking. 

The following is how illegal characters behave now. Characters : /  " < and | in the label track name cause File > Export Labels... to do nothing. A \ character in the track name is removed from the name offered in the file save dialogue.  Characters * ? and > in the track name are passed to the name offered in the dialogue (so would fail).  

Not a problem on Linux (/ is passed to the file save dialogue then fails with an OS message) or Mac (: is translated to / in the file save dialogue which then gives a valid file name).   

It would be user-friendly to reject/replace the illegal characters in a custom dialogue (reuse the illegal characters dialogue used in Export Multiple?)  but it would also be OK IMO to either remove the illegal characters or pass them "as is" to file save and let Windows fail it or refuse to save.
Comment 1 Peter Sampson 2018-08-13 14:02:12 UTC
Testing on W10 with https://bugzilla.audacityteam.org/show_bug.cgi?id=623

All those characters are now exported in Export Labels

They are pretty useless for Export Multiple which (correctly) throws an error message.