-
Notifications
You must be signed in to change notification settings - Fork 3.1k
extend to next note #27456
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
base: master
Are you sure you want to change the base?
extend to next note #27456
Conversation
45224d6 to
2a4eac6
Compare
e88b2d9 to
ff5cf4b
Compare
|
Seems very out of place in the tools menu. Perhaps better as a configurable shortcut? And maybe add an option to extend to previous notes as well as next ones |
ff5cf4b to
58aa13d
Compare
|
@cbjeukendrup any chance i could get some feedback on this? |
cbjeukendrup
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments:
src/engraving/dom/cmd.cpp
Outdated
| if (el->isNote() || el->isChord()) { | ||
| Note* on = toNote(el); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an error if !el->isNote() but el->isChord()
|
This is a very interesting little idea. For sure, it would not be a capability found in the main menu bar... but I assume that's placement is placeholder for now. Potential places it could go:
FWIW: It should definitely not exist in the properties panel because it's a notation action and not a property. |
651b568 to
0ab770a
Compare
|
@Ash-86 - I'm happy to test this and suggest the best UX. Can you fix the issue with the MacOS build and then I can provide any needed assets and perhaps a very small little design spec too? Once we're happy with it, we'll merge. Cheers! |
|
Seems the macOS build failure is outside to what @Ash-86 can fix |
|
Yes, that's the same macOS failure as we're seeing all the time these days. I have a PR to fix it, waiting for review. #27910 |
|
Ah, OK. cool. We'll await the fix on our end. |
|
@Tantacrul great! I'll be waiting for your input. It looks like the macOS build test has passed. |
f50e6ed to
5047c02
Compare
|
I fixed a few issues with selecting extended notes in list selection, as well as the last measure issue. I also removed the menu item, so anyone who wants to test this can now use the shortcut Alt+W (though you might have a better one). |
I would look, how it is done by "Tie" command in note input mode. |
The function uses changeCRlen, so upper one. |
|
On a range selection with a grace note it skips a measure video1267587921.mp4 |
|
@zacjansheski The grace notes issue should be resolved now. Would you mind giving it another try? |
11b8c80 to
6fc0050
Compare
|
Tested on MacOS 15, Windows 11, Ubuntu 22.04.3. Approved |
|
@zacjansheski @cbjeukendrup Before we merge, I wanted to suggest a feature: extending notes from partially selected chords individually instead of always extending the whole chord. This would align with the behavior of R (and soon T) on list selection. I've already made the changes and can push them next week. What are your thoughts?" |
|
To me that sounds sensible (especially considering that if the user does want the entire chord to be affected, that's now perhaps easy enough with the "double click to select whole chord" feature). It turns out GitHub wants you to do another rebase... (it should be trivial because I did not much more than moving files which Git usually handles well). |
|
rebase indeed is dead easy, no conflicts to resolve at all Jojo@DodekaCore MINGW64 ~/Documents/GitHub/MuseScore (pr/27456)
$ git pull --rebase upstream master
From https://github.com/musescore/MuseScore
* branch master -> FETCH_HEAD
Successfully rebased and updated refs/heads/pr/27456.Additional step needed is |
6fc0050 to
e193767
Compare
e193767 to
476f2a3
Compare
|
Cool @cbjeukendrup, rebased and pushed new commit with the new changes. |
|
Found a crash when using extend to next note on a note with a laissez vibrer video1670667244.mp4MacOS crash log: |
1346530 to
ecf6420
Compare
0d806d7 to
8362b68
Compare
8362b68 to
6d3300d
Compare

Proposal to add a "extend to next note" action.
bug: Applying on triplets seems to erase the triplet number and bracket above the notes. While execution seems correct, undoing displays strange behaviour.
demo11.mp4
triplets example with undoing going bad:
demo2.mp4