https://bugs.kde.org/show_bug.cgi?id=436892

            Bug ID: 436892
           Summary: Transform Mask on moved clone layer (i.e. clone
                    arrays) has incorrect bounds
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 138303
  --> https://bugs.kde.org/attachment.cgi?id=138303&action=edit
Test file with rectangle and the clones array

SUMMARY
When you use clone array with default offsets and you add a Transform Mask, the
bounds of the transformation is incorrect, it looks as if it has grown from one
side.

STEPS TO REPRODUCE
1. Open the test file or prepare your own: create a small but tall rectangle on
a new layer.
2. Go to Layer -> Split -> Clone Array.
3. Change the Columns number to 4 and Rows to 1.
4. Add a Transform Mask to the clone layer called "Clone 3, 1". Use a Transform
Tool on it.

OBSERVED RESULT
The boundary of the transformation starts with the rectangle but is much
longer: it looks as if it tried to fit all four rectangles.
Note that if you try to transform(*) "Clone 2, 1" it will be 3x longer, if you
try to transform "Clone 1, 1", then it will be 2x longer. 

If you create your own Clone Layer from the Layer with rectangle, if you don't
move it before adding the transform mask, it works; but if you first move it,
the transformation boundary will be incorrect. So it's not Clones Array's
specific issue, but Clone Layers + Transform Mask. 

It makes it much more difficult to work with Clone Layers and Clones Array.

*) make a transform mask and then transform

EXPECTED RESULT
The bounds only contain the rectangle.

SOFTWARE/OS VERSIONS
SOFTWARE/OS VERSIONS
Krita

 Version: 5.0.0-prealpha (git 3241355)
 Languages: pl, pl_PL, pl
 Hidpi: true

Qt

  Version (compiled): 5.12.8
  Version (loaded): 5.12.8

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 5.4.0-58-generic
  Pretty Productname: Linux Mint 20.1
  Product Type: linuxmint
  Product Version: 20.1
  Desktop: X-Cinnamon

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to