Skip to content

Fix stuck keys when dragging on piano view#5127

Merged
zonkmachine merged 2 commits intoLMMS:stable-1.2from
DomClark:fix-5028
Sep 8, 2019
Merged

Fix stuck keys when dragging on piano view#5127
zonkmachine merged 2 commits intoLMMS:stable-1.2from
DomClark:fix-5028

Conversation

@DomClark
Copy link
Member

Fixes #5028.

It is possible for NotePlayHandle::noteOff to be called before NotePlayHandle::play is called for the first time, which results in a note-on message being sent without a subsequent note-off message. This PR checks whether the note has already been released before sending the note-on message.

@DomClark DomClark added needs code review A functional code review is currently required for this PR needs testing This pull request needs more testing labels Aug 16, 2019
Co-Authored-By: Shmuel H. <shmuelhazan0@gmail.com>
@DomClark DomClark removed the needs code review A functional code review is currently required for this PR label Aug 19, 2019
@PhysSong PhysSong added this to the 1.2.1 milestone Aug 20, 2019
@zonkmachine
Copy link
Contributor

Tested, works!

Merge?

@zonkmachine zonkmachine merged commit 2e84cd3 into LMMS:stable-1.2 Sep 8, 2019
@zonkmachine zonkmachine removed the needs testing This pull request needs more testing label Sep 8, 2019
@DomClark DomClark deleted the fix-5028 branch March 12, 2021 19:05
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
* Fix stuck keys when dragging on piano view
* Add comment

Co-Authored-By: Shmuel H. <shmuelhazan0@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants