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

            Bug ID: 499696
           Summary: Half-pixel aligned mirror tool sometimes broken
    Classification: Applications
           Product: krita
           Version: 5.2.9
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools
          Assignee: krita-bugs-n...@kde.org
          Reporter: ricardojorge512+...@hotmail.com
  Target Milestone: ---

SUMMARY
Pixel lines are not correctly mirrored with half-pixel aligned mirroring tool.

STEPS TO REPRODUCE
1. Create an odd-sized small image (ex: 7x7)
2. Select a pixel drawing brush
3. Zoom in and place the cursor on the left side of the mirroring tool
4. Click on the left half of a pixel

OBSERVED RESULT
Only the pixel under the cursor is painted.

EXPECTED RESULT
Another pixel should have appeared, mirrored on the right side.

SOFTWARE/OS VERSIONS
Linux: Gentoo
Krita: AppImage 5.2.9 (git ac6cae8)

ADDITIONAL INFORMATION
Also, the line tool is broken. I suspect there is some shenanigans regarding
rounding up or rounding down when converting the mouse position (which is
sub-pixel aligned), into the pixel index to actually paint, but can't be sure.

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

Reply via email to