1.3 Copy of Patterns is not possible
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 show the context-selection after right-click
Affected LMMS versions
Windows >1.3-alpha
I can also reproduce this in master with the following step (using a template with a pattern track):
- Open the pattern editor.
- Add a pattern, e.g. a four on the floor.
- Right click the pattern and select "Copy".
- Create a new pattern.
- Create another new pattern.
- Select "Pattern 1" from the combo box.
- Paste into the copied pattern.
- Adjust the pattern so that you can differentiate it from the first pattern.
- Press play. Nothing is played.
- 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 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
@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.
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.