https://bugs.kde.org/show_bug.cgi?id=522749
Bug ID: 522749
Summary: Mirror tool - mismatched mirror line vs. actual mirror
position after asymmetric canvas resize
Classification: Applications
Product: krita
Version First nightly build (please specify the git hash!)
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 194095
--> https://bugs.kde.org/attachment.cgi?id=194095&action=edit
Demonstration of the issue with the horizontal and vertical mirror tool.
DESCRIPTION
After changing the canvas size with the mirror tool enabled, the mirror line
does not represent the actual position of the mirroring, which jumps to the new
center of the resized canvas.
STEPS TO REPRODUCE
1. Create a new document.
2. Click the Mirror Tool button (affects both Horizontal and Vertical ones).
3. Image → Resize Canvas…
4. Expand the canvas *to one side* (width if horizontal mirror tool, or height
if vertical).
5. Draw something.
OBSERVED RESULT
The mirror line stays where it was initially, offset from the center of the
now-expanded canvas, but any new drawing is mirrored as if the mirror line were
set in the current center of the canvas.
- Manually changing the mirror line's position on the canvas or switching the
mirror tool off and on again fixes the mismatch.
- I'm attaching the screenshots where the green "1"s were drawn before the
canvas resize, and the red "2"s after.
EXPECTED RESULT
The mirror line and the actual mirror position should correspond to each other,
staying at the coordinate they were set originally.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux x86_64 7.1.2-arch3-1
KDE Plasma Version: n/a
KDE Frameworks Version: n/a
Qt Version: 5.15.19+kde+r96-1
ADDITIONAL INFORMATION
Tested on 5.4.0 prealpha `e82e31ac19` and `5988ec7829` git hashes.
A tangential issue, most likely with the same root cause: if the mirror tool is
enabled *after* canvas resizing, the line stays at the position of the original
canvas center, not the current one; however, the mirroring itself works as
expected, corresponding to the displayed mirror line.
--
You are receiving this mail because:
You are watching all bug changes.