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

            Bug ID: 512724
           Summary: Transform rotate shears/skews pixels, popping, result
                    visibly incorrect
    Classification: Applications
           Product: krita
      Version First 5.2.11
       Reported In:
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Transform
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 187231
  --> https://bugs.kde.org/attachment.cgi?id=187231&action=edit
what it looks like

SUMMARY
Using the Rotate feature of the "Transform layer or a selection" tool produces
incorrect result. The math appears to be off, causing popping while rotating
and incorrect results.
Specifically when used together with Scale (up), the tool makes magnified
pixels-squares appear sheared, rather than rotated. The shearing direction
flips at 45, and then after every 90 degrees. There is no discernible shearing
when no scaling is applied, but the image still pops at 45 degrees so the math
is likely off in this case too.

STEPS TO REPRODUCE
1. Paint several individual pixels using the Pixel Art brush
2. Enable the "Transform layer or a selection" tool for a section containing
the pixels
3. Use the tool to scale the section up to 300..500%
4. Use the tool to rotate the section

OBSERVED RESULT
The pixel squares turn into skewed parallelograms. At 45 degrees the direction
of shearing flips abruptly.

EXPECTED RESULT
The squares remain square throughout the entire 360 degrees of rotation. At no
rotation the transformed image pops or changes abruptly.

SOFTWARE/OS VERSIONS
Windows: Microsoft Windows [Version 10.0.19045.6456]
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to