Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piano Roll playhead not shown during Record-Play #7351

Open
1 task done
messmerd opened this issue Jun 26, 2024 · 2 comments
Open
1 task done

Piano Roll playhead not shown during Record-Play #7351

messmerd opened this issue Jun 26, 2024 · 2 comments
Labels

Comments

@messmerd
Copy link
Member

System Information

Linux Mint 21

LMMS Version(s)

9a0db6a

Most Recent Working Version

1.2.2

Bug Summary

When playing a midi clip using Record-Play (either the button in the Song Editor or the Piano Roll), the playhead in the Piano Roll no longer follows along when the Song Editor's global playhead is playing within the same time frame as the clip.

Expected Behaviour

The Piano Roll's playhead should follow the global playhead during Record-Play. That would restore the previous behavior.

Related design questions:

  • Should we extend this behavior to the normal Play button as well, or keep it to just Record-Play?
  • Should the Piano Roll's view continue to follow the Piano Roll playhead when playing from the Song Editor?
  • ...

Steps To Reproduce

  • Open new project
  • Create a midi clip at time=0
  • Open the piano roll and place a few notes
  • Press the Record-Play button from either the Song Editor or the Piano Roll
  • The Piano Roll's playhead does not move while the Song Editor's playhead passes through the clip (Regression!)

Logs

Click to expand
  

Screenshots / Minimum Reproducible Project

No response

Please search the issue tracker for existing bug reports before submitting your own.

  • I have searched all existing issues and confirmed that this is not a duplicate.
@messmerd messmerd added the bug label Jun 26, 2024
@messmerd
Copy link
Member Author

@DomClark This regression was probably introduced by #7004

@DomClark
Copy link
Member

My guess (not tested) would be that this line should use Engine::getSong()->getTimeline(Song::PlayMode::Song), not m_timeLine:

connect(m_timeLine, &TimeLineWidget::positionChanged, this, &PianoRoll::updatePositionAccompany);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants