You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It smells as if the document which the clipboard is relying on was deleted before pasting is made. Doing copy&undo&paste on notes in staff doesn't crash though 🤔
Suggested solution:
when copy is triggered, CLONE the document and store it in memory along with the references of elements to be pasted
this makes copy&pasting oblivious to future document changes
but probably requires that each clone() also returns a map of QMap<void*,void*> old -> new so that you can reference the elements to be pasted somehow. This feature would also be useful in the UI when calling undo/redo so it can remember the selection.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
It smells as if the document which the clipboard is relying on was deleted before pasting is made. Doing copy&undo&paste on notes in staff doesn't crash though 🤔
Suggested solution:
The text was updated successfully, but these errors were encountered: