Skip to content

Label is created at a wrong position #11682

Closed

Description

@dozzzzer
  1. Have a clip starting from a non-zero time mark
  2. Add a region label after the clip
  3. Click to select it
  4. Move the playhead so that it overlaps the clip
  5. Press Cmd+B or Edit > Label > Add Label
  6. Observe: the label is created at either the zero time mark or at a random position within the region label (see the video).
2026-08-14_11-44-38.mp4

Activity

  1. added theissue type on Aug 14, 2026
  2. RiccardoCampo commented on Aug 30, 2026

    @RiccardoCampo
    Contributor

    The label position is determined only by the track selection, if you move the playhead you do not move the selected track, so the label will be created at the last selection position.
    Also, a label being selected does not result in the respective track length being selected, that is why you get this behavior.

    Maybe a potential solution would be for new label positions to be determined in this way: get the position of the current track selection if start > end (visible selected track) otherwise use the playhead position

  3. moved this from Ready For Dev to Ready for QA in [AU4] Release Maintenanceon Sep 7, 2026
  4. moved this from Ready for QA to In QA in [AU4] Release Maintenanceon Sep 7, 2026
  5. self-assigned this
    on Sep 7, 2026
  6. added this to the Audacity 4.0.1 milestone on Sep 7, 2026
  7. moved this from In QA to Ready for QA in [AU4] Release Maintenanceon Sep 8, 2026
  8. moved this from Ready for QA to In QA in [AU4] Release Maintenanceon Sep 8, 2026
  9. dozzzzer commented on Sep 8, 2026

    @dozzzzer
    ContributorAuthor

    Tested

  10. moved this from In QA to Ready for Merge in [AU4] Release Maintenanceon Sep 8, 2026
  11. moved this from Ready for Merge to Done in [AU4] Release Maintenanceon Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Fields

Priority

High

Effort

None yet

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions