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

Audacity Bugzilla



Bug 1905 - Labels with more than 260 characters fail to load (with no warning)
Labels with more than 260 characters fail to load (with no warning)
Status: RESOLVED QUICKFIXED
Product: Audacity
Classification: Unclassified
Component: Labels
2.1.3
Per OS All
: P3 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-17 19:08 UTC by Steve Daulton
Modified: 2018-08-20 11:45 UTC (History)
4 users (show)

See Also:
Steps To Reproduce:
1) Create a project with a label that has > 260 characters. 2) Save the project 3) Close and relaunch Audacity 4) Open the project. Note that the label is missing.
Release Note:
Group: Label Tracks *Labels with more than 260 characters fail to load from saved projects. **Workaround: Ensure label text does not exceed 260 characters.
First Git SHA:
Group: ---
Workaround:
Closed: 2018-08-20 00:00:00
petersampsonaudacity: Test‑OK‑Win?
james.k.crook: Test‑OK‑Win+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2018-07-17 19:08:48 UTC
This bug has existed since at least Audacity 2.1.3.
(see steps to reproduce).

The use case for very long label text is transcription.

It is reasonable for their to be a limit to the length of label text as labels may be used as file names in Export Multiple, but as labels may also be used for transcription purposes it is highly unsatisfactory that we silently discard long labels.

This limitation of labels does not appear to be documented in the manual.
Comment 1 Steve Daulton 2018-07-18 04:26:49 UTC
(In reply to Steve Daulton from comment #0)
> This limitation of labels does not appear to be documented in the manual.

I have added a note in the manual about this, and a couple of other "limitations" that are unlikely to be resolved in the near future.
https://alphamanual.audacityteam.org/man/Label_Tracks#Limitations_of_Labels
Comment 2 Peter Sampson 2018-07-18 05:36:53 UTC
This could be considered as more serious than P3 as it involves an unrecoverable loss of data, that label text
Comment 4 Peter Sampson 2018-08-07 11:33:14 UTC
Testing on W10 with James' AppVeyor build #73

When the project is opened at Step 4 the long label is still there.

For all I know it may be truncated - or it may not, it's too hard to count.

There is certainly no warning about exceeding a maximum label length - an I do think it would be reasonable for us to impose a limit and enforce it with a warning/error message at label creation time.
Comment 5 James Crook 2018-08-07 11:42:21 UTC
I tested with 0123456789a0123456789b0123456789c and so on, and I could see that 0123456789z was present - by zooming in on the audio track and scrolling left and right.  All present and correct.

So marking RESOLVED FIXED.

Rather than a limit on label size, at some point we should support wrapping of labels when labels are long, or perhaps another way to display long labels than in a track.