lmms icon indicating copy to clipboard operation
lmms copied to clipboard

1.3 Copy of Patterns is not possible

Open musikBear opened this issue 1 year ago • 4 comments

Bug Summary

It is not possible to copy/paste patterns in Pattern-editor

Steps to reproduce

Insert a pattern in one Beat-line and make a pattern Right-click new pattern Select Copy (img yellow) Use Create new pattern (img orange) Point in new empty Beat-line Right-click Select paste Nothing happens

Expected behavior

<1.3 the copied pattern is inserted in the empty Beat

Actual behavior

Copy does not work

Screenshot

image

Image show the context-selection after right-click

Affected LMMS versions

Windows >1.3-alpha

musikBear avatar Feb 15 '24 23:02 musikBear

I can also reproduce this in master with the following step (using a template with a pattern track):

  1. Open the pattern editor.
  2. Add a pattern, e.g. a four on the floor.
  3. Right click the pattern and select "Copy".
  4. Create a new pattern.
  5. Create another new pattern.
  6. Select "Pattern 1" from the combo box.
  7. Paste into the copied pattern.
  8. Adjust the pattern so that you can differentiate it from the first pattern.
  9. Press play. Nothing is played.
  10. Now select "Pattern 2".

The pattern is shown as empty but the copied and adjusted pattern from "Pattern 1" is being played.

It seems that the pattern is always copied to the very last pattern, i.e. if you add three patterns the sound will play for "Pattern 3".

michaelgregorius avatar Feb 17 '24 16:02 michaelgregorius

@michaelgregorius What you see is a glitch after the fix for issue https://github.com/LMMS/lmms/issues/6756 : https://github.com/LMMS/lmms/pull/6803 / e87d44b42ca3a29bbc0ade8313deb6271cd5e166

zonkmachine avatar Apr 13 '24 13:04 zonkmachine

@IanCaio You may want to have a look at this one. @michaelgregorius's method above is the one to follow as the OP is just the bug fixed in #6803.

zonkmachine avatar Apr 13 '24 14:04 zonkmachine

I don't think it was e87d44b42ca3a29bbc0ade8313deb6271cd5e166 that introduced the issue but before it there was no copy/paste at all so this issue was hidden.

zonkmachine avatar Apr 13 '24 16:04 zonkmachine