Skip to content

Undo closes midi editor (maybe removes track too) instead of undoing note insert action #1300

@andrasf

Description

@andrasf

Describe the bug
When I insert one note in the midi editor and try to undo it, Playtime closes the midi editor without removing the note. When a track is added, plus a midi clip is added and plus a note is inserted, the track is also removed upon undo.

This bug seems to only affect the first note inserted. Second gets removed as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Playtime
  2. Add track
  3. Add MIDI clip
  4. Open MIDI clip
  5. Add note
  6. Undo it
  7. See bug

Expected behavior
Note insert is undone

Screenshots
See video: https://youtu.be/Lz-j9zlsokw

Desktop (please complete the following information):

  • OS: MacOS
  • Version Sequoia 15.1 (24B83)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaytimeRelated to Playtime

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions