Cannot copy and paste stickings in range or list selection

• Nov 23, 2019 - 03:22
Reported version
3.3
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

1) Select an already placed sticking
2) Copy it
3) Paste it to another note
4) It does not paste the sticking


Comments

Status PR created fixed

Fixed in branch master, commit d6a27f86a3

_fix #297514: Cannot copy and paste stickings

when handling paste, a switch statement is used on dropElement.type() (result is of type ElementType). Before this commit, there was no case for ElementType::STICKING, and paste wouldn't work (default behavior)._

The fix is good for single stickings, but still copy/paste of a range selection leaves out the stickings, and they don't copy as a list either.

Fix version
3.3.3