Tremolo between 2 notes is copied even if unchecked in selection filter

• Jan 25, 2017 - 19:06
Type
Ergonomical (UX)
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project

1. Create a score with a Bb clarinet (This is what I tested it with) in 4/4 time
2. Enter 2 consecutive 1/4 notes in a measure 1 step apart.
3. Apply 16th between 2 notes tremolo to first note
4. Select everything but tremolo in filter
5. copy measure (Notice the tremolo is selected)
6. paste measure somewhere else - tremolo is still there

This does not occur with single note tremolos. If you select a section of music (with filter all on) with both types of tremolos and right click select more - all similar elements, both types of tremolos are selected.

This is applicable to both 2.1 and 2.0.3


Comments

Reported version 2.2 2.1

Then we have to assume master is affected too, until the opposite has been verified

Done: master is affected too

Not sure what expected behavior is. You can't literally copy passage as is without the tremolo / you would end up with two many best. So at best we could make the copy as if you first *deleted* the tremolo - halving the note values in the process. Probably that makes the most sense, but it kind of stretches what one would otherwise expect a filter to do. Might make more sense to make the tremolo item only apply to single note tremolos.

If you copied without tremolos you would end up with the note values that existed before tremolos were applied. 1/4 notes look like 1/2 notes so you paste 1/2 notes....

In any case this is inconsistent behavior. Either it's a tremolo (which it really is) or it's not (:\) and needs to be treated separately from a tremolo at all times.

As long as we can (de)select tremolos in the selection filter, this should be obeyed rather than ignored in copy/paste. And no, you won't end up with too many beats, even if the note heads change to pretend to be twices as long, the real lenght is still known and unaffected.
Question is whether to keep those double-lenght noteheads or revert to when they had looked before the tremolo got added.
I'd say: revert, the user explictily disabled the tremolo, so it should look as if it had never been there. If the user wants the note heads to look different, that should be an extra step.

Sorry I hit the 2 on the paste instead of the 4. Of course you want to paste 1/4 notes if you are removing tremolo from 1/4 notes.

So just as I said in the first place, copying a passage containing tremolos that are filtered out should look just as if it would have looked had the tremolos been deleted before the operation started.

I agree this the most sensible behavior. I'm just pointing out it is a little beyond what the filter operation currently does. I'm sure it's not unsolvable, but probably not quite as trivial as some other cases that have been reported where the filter is being ignored and a single one-line fix is all that's needed to get it working as it should.

BTW, see also #30411: Corruption when copying a shortened 2 note tremolo. Probably some of the same code would be involved.

Title Tremolo between 2 notes always copy Tremolo between 2 notes is copied even if unticked in selection filter
Title Tremolo between 2 notes is copied even if unticked in selection filter Tremolo between 2 notes is copied even if unchecked in selection filter

they're called check boxes not tick boxes.

Status PR created fixed

Fixed in branch master, commit 7443719d87

_fix #165621: Tremolo between 2 notes is copied even if unticked in selection filter

also change labels to a) plural and b) reflect better what they really
filter on_

Fix version
3.3.0