Bug 465020

Summary: Copying and pasting from a layer with "Copy Green" blending mode translates pasted conte
Product: [Applications] krita Reporter: Andrea Montagna <fullmontis>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.1.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrea Montagna 2023-01-30 02:18:12 UTC
SUMMARY

Link to bug reproduced on video:
https://youtu.be/B7cnVvmK9_I

When copying and pasting a layer with the "Copy Green" blending mode, the pasted layer is translated by a certain amount compared to where it should appear.

This seems to also happen with other blending modes like "Copy Red"

It also happen with both vector and raster selections.

STEPS TO REPRODUCE
1. Draw something on canvas
2. Select part of the drawing
3. Select "Copy Green" blending mode for the layer
4. Ctrl+C, Ctrl+V

OBSERVED RESULT

The pasted results translated from the copied layer

EXPECTED RESULT

The pasted layer should overlap the one that it is copied from and not translated.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Xubuntu 22.04.1 LTS
KDE Plasma Version: - 
KDE Frameworks Version: -
Qt Version: 5.12.12