Copying and pasting bars with chord symbols does not overwrite existing chord symbols

• Jan 2, 2022 - 09:20

I have the following issue on 3.6.2 (and also the 4.0 nightly)

When pasting chord symbols onto a bar that already has chord symbols, it does not overwrite the existing symbols, e.g.

  • Bar 1 contains chord symbols Am (blank) C (blank) (and notes that match them)
  • Bar 2 contains chord symbols (blank) B (blank) Dm (and notes that match them)
  • How to reproduce: Copy and paste contents of Bar 1 onto Bar 2
  • Expected result: Bar 2 is an identical copy of Bar 1 (notes and chord symbols)
  • Actual result: Bar 2 contains the notes of Bar 1 (correct) but the chord symbols of Bar 1 and Bar 2 (e.g. a union - incorrect), Am B C Dm

    chord symbol join.png

Additional notes

  • "Swap with clipboard" exhibits the same behaviour.
  • Staff text and fingering symbols do not exhibit this behaviour.

Workaround: clear/delete/remove the contents of the bar(s) you want to paste into, before pasting.

(If someone can confirm that this is indeed a bug and a new one, I will log an issue)

Attachment Size
chord symbol join.png 154.81 KB

Comments

Yes, I can confirm I get the same strange behaviour. Maybe it is because it is a piano score - copying and pasting works all right for me on a lead sheet.

In reply to by Mr Fox

As I note in the issue, it's a feature - at least, it was the consensus best compromise over the course of many years of back and forth and refinements here. There are many different use cases for copy/paste of chord symbols, and the current behavior works well for the most common ones one championed by the people who participated in those discussions

Hi, Riaan,

In your bar "expected result", should the first chord symbol be 'Am' rather than 'A'?

I agree that, as earlier suggested below, likely the issue here is that there was nothing in the paste at beats 2 and 4 and thus at the destination the existing symbols at beats 2 and 4 are not disturbed.

Whether that is a desirable behavior is another matter altogether. I suspect that having the existing content of chord symbols in a bar into which a measure-wide paste is done all be eliminated in favor of whatever is in the paste is the best plan.

Happy New Year.

Doug

As noted in the issue that was filed, this is currently by design. Existing chords get replaced if and only if there is a new chord at that exact time position. This perfectly handles the two most common use cases - replacing a passage that has chord symbols with another passage using those same chord symbols, and replacing a passage that has chord symbols with another passage that uses no chord symbols whatsoever Both cases are extremely common in real world usage.

The downside is, the behavior can seem a bit arbitrary in the cases where the source and destination both have chord symbols but they aren't related in any particular way. That's case indeed where the results seem counterintuitive - here would want all destination chords deleted. But in real world usage, this tends to be far less common than the cases for which the current behavior works well. Another case the current approach doesn't handle as well as it might is combing a standard and alternate set of changes, but in that case, the desired behavior is to delete nothing.

So the current behavior - delete only the destination chords at the same relative time position as the source - was found to be the best compromise. But no doubt, other solutions might be possible, including ones that might involve giving the user control via the Selection Filter or other tools.

I understand and support the current implementation with copy and paste.
However I somehow would have the expectation that "swap with clipboard" would not be affected by this and indeed act as if the old measure was "cut" away to the clipboard, thus also removing its old chord symbols.

Do you still have an unanswered question? Please log in first to post your question.