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

fix #29406: next/previous handling of grace notes. #1148

Closed

Conversation

MarcSabatella
Copy link
Contributor

The changes here only affect chords with grace notes.

The effect is that next/previous chord commands (right/left arrow) will traverse both grace notes before and grace notes after in the way one might expect - left to right for next-chord, right-to-left for previous-chord, without skipping any or getting hung up anywhere.

If you do this in note input mode, the note input cursor remains on the main note. See http://musescore.org/en/node/23418. I'm not sure how much work it would be to get note input mode to work more directly with grace notes, but since it does not work currently, the second commit in this PR actually disables it rather than create the illusion it will work. That is, if you have a grace note selected upon entering note entry, the cursor will start on the parent note, and left/right keys will skip grace notes while in note input mode.

Eventually of course we could enhance note input mode actually work with grace notes. And if we would rather keep the current behavior where navigation within note input still includes grace ntoes even though you can actually enter them, cherry-pick the first commit of this PR only to at least fix navigation.

mgavioli and others added 30 commits August 15, 2014 14:06
and convert enum DrumsetKi9nd into an enum class in the due course
…chords

fix #28401: transpose chords appropriately in parts
…rtermode

fix #28706 Hangup in converter mode with MusicXML source
for consistency with other "Eighth"
Is the code duplication with awl/utils.cpp really needed?
and adjust test.
Some code duplication with smDrumset ?!?
and tests.
Some code duplication with gpDrumset ?!?
…fixes

Small cosmetic changes to mscoreTAB fonts
various translation and spelling issues
@MarcSabatella
Copy link
Contributor Author

In fact, I do think it makes sense to skip the second commit. Even though the navigation behavior while in note input mode is a bit odd - "note input cursor" stays on main note, "selected cursor" traverse grace notes - it's useful in that up/down work. I'm going to revert the second commit. Easy enough to add later if we want.

@MarcSabatella
Copy link
Contributor Author

I left the code to skip grace notes in the history as a revert, hope that's OK.

@MarcSabatella MarcSabatella reopened this Aug 17, 2014
@lasconic
Copy link
Contributor

ola, no it's not unfortunately. The PR now contains 33 commits :(

@lasconic lasconic closed this Aug 17, 2014
@MarcSabatella
Copy link
Contributor Author

Don't mind me, I need to reopen to see if my git fix worked...

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.

None yet

7 participants