Bug 502690 - Clone tool cursors reversed, move together, and fail to paint correctly
Summary: Clone tool cursors reversed, move together, and fail to paint correctly
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: 5.2.9
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-11 20:04 UTC by Bobby
Modified: 2025-04-11 20:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of Clone Tool's generic tool options (358.99 KB, image/png)
2025-04-11 20:04 UTC, Bobby
Details
Screenshot of Clone Tool cursors showing reversed behavior (209.62 KB, image/png)
2025-04-11 20:37 UTC, Bobby
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bobby 2025-04-11 20:04:56 UTC
Created attachment 180182 [details]
Screenshot of Clone Tool's generic tool options

***
text

Collapse

Wrap

Copy
Steps to Reproduce:
1. Open Krita 5.2.9 (portable version) on Windows 10.
2. Create a new document (1920x1080, 300 DPI).
3. Draw a snowy area and a contrasting area (e.g., brown tree) with the Brush Tool.
4. Select the Clone Brush Tool from the toolbar.
5. Press Ctrl+click to set the clone source (e.g., on snow).
6. Move the mouse to paint with the Clone Tool.
7. Observe the two cursors (plain circle and circle with 'X').
8. Check the Tool Options docker while switching to other Digital brushes (e.g., Basic-1, Airbrush).

Actual Results:
- The plain circle cursor samples the source (e.g., snow) when Ctrl+clicking, which should be the 'X' circle’s role.
- The circle with 'X' paints the cloned pixels, which is incorrect—it should only mark the source.
- Both cursors move together at a fixed distance, so when the plain circle (sampling) hits a non-snow area (e.g., tree), the 'X' circle clones that unwanted area.
- This makes the tool unusable, as I can’t clone only the desired area (e.g., snow).
- The Tool Options for the Clone Tool are identical to other Digital brushes (e.g., Basic-1, Airbrush), showing generic options like opacity and flow, not clone-specific settings.

Expected Results:
- The circle with 'X' should set the source (via Ctrl+click) and remain a reference.
- The plain circle should paint the cloned pixels, following my mouse.
- The cursors should maintain their offset, but the plain circle should clone, not sample.
- Tool Options should offer clone-specific settings (e.g., source control), not generic brush settings.

Additional Info:
- Issue persists 100% of the time in the portable ZIP version (krita-x64-5.2.9.zip).
- Hardware: Intel i7-9700, 16GB RAM, NVIDIA GTX 1660, Wacom Intuos tablet.
- Uninstalled and reinstalled Krita 5.2.9 five times—problem remains.
- No error messages; tool is unusable for cloning tasks.
- Note: This resembles Photoshop’s Clone Stamp with locked offset, but cursor roles are reversed.

Addendum:
- Attached two screenshots:
  - krita_clone_cursors.png: Shows the plain circle over snow and 'X' circle cloning a non-snow area (e.g., tree), highlighting reversed roles and fixed distance.
  - krita_clone_tool_options.png: Shows the Tool Options docker for the Clone Tool, di
***

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
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
Comment 1 Bobby 2025-04-11 20:37:32 UTC
Created attachment 180185 [details]
Screenshot of Clone Tool cursors showing reversed behavior