MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

Changing velocity of one note also changes the velocity for notes sharing a beam

Open NicolaRulli opened this issue 1 year ago • 11 comments

Issue type

UX/Interaction bug (incorrect behaviour)

Bug description

If using box (shift) selection to change the velocity of one note, all the other notes in the tuplet will also adopt that change.

Steps to reproduce

  1. create a score
  2. create a triplet
  3. select a note in "box"/area mode by shift clicking it, or by clicking it then pressing shift right followed by shift left
  4. open the playback submenu in the properties panel
  5. change the velocity value
  6. click on any of the other notes, which you hadn't selected until now
  7. check the velocity value: it will be equal to that you have set for the other note, instead of being the default

Screenshots/Screen recordings

No response

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433

Regression

I don't know

Operating system

Windows 10 home x64

Additional context

No response

NicolaRulli avatar Jan 29 '24 23:01 NicolaRulli

Could you possibly share a screen capture of what you are doing? If you make a range selection, all selected notes should change velocity.

zacjansheski avatar Jan 30 '24 14:01 zacjansheski

I make a range selection of ONE note (or chord, or vertically aligned notes/chords across different staves) and the whole tuplet gets affected, even though only ONE of its elements is selected (in actual user selection, in box size, and in blue highlighting)

NicolaRulli avatar Jan 30 '24 14:01 NicolaRulli

I haven't been able to reproduce this. Could you possibly make a screen capture showing the issue?

https://github.com/musescore/MuseScore/assets/69917893/0c7d2900-314d-4c3d-aabf-4c9438daa59e

zacjansheski avatar Jan 30 '24 17:01 zacjansheski

Got it now, looks like the notes need to be beamed together

https://github.com/musescore/MuseScore/assets/69917893/215dab88-37d6-4ffb-83ba-2e5a65a1b58c

zacjansheski avatar Jan 30 '24 17:01 zacjansheski

That's an interesting discriminating factor. Next time I encounter a bug on notes beamed together, I'll make sure to check whether it also applies to beamless notes.

NicolaRulli avatar Jan 30 '24 17:01 NicolaRulli

Update: it's actually ONLY a matter of beam, not of tuplet. The same happens for any two beamed eighth notes, for example.

NicolaRulli avatar Jan 31 '24 12:01 NicolaRulli

Yes, when you select a beam, the Properties panel will pretend you have selected all notes under that beam. That's partially by design, but also has unexpected consequences, like this one.

cbjeukendrup avatar Jan 31 '24 18:01 cbjeukendrup

I just found that the beams also prevent mass-adjustment of Y position, even if all notes on the beam are selected. I'll make a separate issue later if I have time, but this makes me think it's the same underlying problem, and it's probably a regression because I imagine I should have noticed this one earlier (when finnicking with the slash notation cues) if it had been present.

NicolaRulli avatar Feb 01 '24 14:02 NicolaRulli

Additional interesting interaction between two bugs: Selecting an area that includes beams will prevent editing the Y position field even thought there may be non-beamed and non-note contents, however changing any of the other fields will still reset all Y positions to default due to the bug that causes all other fields to reset to default upon mass edits to one field, so the beam just disables input in the UI field but it doesn't protect the underlying value from changes from other sources.

NicolaRulli avatar Feb 14 '24 16:02 NicolaRulli

Like you say @cbjeukendrup this seems partially by design. My suggestion would be to only apply playback changes to notes whose heads are currently selected. The "trade-off" is that selecting stems/beams only will return a greyed-out playback button (see below) but, to me at least, this actually makes more sense than the current behaviour.

@bkunda any thoughts?

Screenshot 2024-04-29 at 15 33 33

mathesoncalum avatar Apr 29 '24 14:04 mathesoncalum

That makes much more sense to me too. When the user selects a beam or stem specifically, they are probably doing so on purpose, and a beam or stem doesn't really seem to have any association with playback.

cbjeukendrup avatar Apr 29 '24 16:04 cbjeukendrup

Agreed. At least conceptually, beams don't trigger playback events – but noteheads do.

bkunda avatar May 15 '24 09:05 bkunda

Apparently a regression vs. Mu3

Jojo-Schmitz avatar May 15 '24 13:05 Jojo-Schmitz