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

            Bug ID: 465086
           Summary: Clone brush cursor is improperly rendered
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Other
                OS: Other
            Status: REPORTED
          Keywords: regression
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: penguinflyer2...@gmail.com
  Target Milestone: ---

SUMMARY
The clone brush engine has two cursors; one for the source and one for the
destination.
The destination cursor is marked by an X to distinguish it. However, after
commits 2e81d96f and 095491e5, this X is not confined inside of the outline. It
seems to be positioned at the document origin, so that when the cursor is at
the top left of the image it appears normal, but as it moves away the X becomes
stretched between the origin and the cursor.

Reverting 095491e5 "Fix caching in KisOptimizedBrushOutline" places the X at
the origin without stretching. Additionally reverting 2e81d96f "Optimize
KisOptimizedBrushOutline::boundingRect() further" restores the correct
behavior.

STEPS TO REPRODUCE
1. Open a document.
2. Select a Clone Engine brush (default is called "v) Clone Tool").
3. Move the cursor around the document, towards and away from the top-left
corner.

OBSERVED RESULT
Distorted X outside cursor.

EXPECTED RESULT
X fitted inside cursor.

SOFTWARE/OS VERSIONS
Krita 5.2.0-prealpha git hash e659b1ba.

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

Reply via email to