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

            Bug ID: 477164
           Summary: Preview outline of the brush tip is using opaque
                    pixels to center
    Classification: Applications
           Product: krita
           Version: 5.2.1
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Usability
          Assignee: krita-bugs-n...@kde.org
          Reporter: paleh21...@proton.me
  Target Milestone: ---

Created attachment 163253
  --> https://bugs.kde.org/attachment.cgi?id=163253&action=edit
Example of a brush tip and drawing a straight line with it

STEPS TO REPRODUCE
1. Create a brush tip such that the center of the bounding box containing all
its opaque pixels is clearly different from the geometric center of the brush
tip's image. Use this brush tip on a simple brush such as Basic-2 Opacity.
2. Activate preview outline in general->cursor->brush outline shape
(3. Activate any cursor in general->cursor->brush cursor icon for better
visibility.)
4. Make the brush sufficiently big to see the details of the outline and draw.

OBSERVED RESULT
The preview of the brush tip is drawn around the center of the set of opaque
pixels of the brush tip. Meanwhile, as we draw, individual dabs are (correctly)
placed around the center of the full brush tip's image. Thus the preview
outline is inconsistent with the dabs.

EXPECTED RESULT
The preview outline should be centered around the center of the full brush
tip's image.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
Qt Version: 5.15.7
Appimage
ADDITIONAL INFORMATION

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

Reply via email to