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

            Bug ID: 460557
           Summary: Selection content deleted after transform but remains
                    on screen until canvas area is "refreshed"
    Classification: Applications
           Product: krita
           Version: 5.0.2
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Transform
          Assignee: krita-bugs-n...@kde.org
          Reporter: ecen.cronze...@gmail.com
  Target Milestone: ---

Created attachment 152913
  --> https://bugs.kde.org/attachment.cgi?id=152913&action=edit
Krita System Information for Kubuntu

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Draw a line and a triangle.
2. Use the freehand selection tool (select with hotkey) to select the triangle. 
3. Select the transform tool (select with hotkey) and do multiple transforms to
the selection (rotation, scaling and translation).
4. Press enter to apply the transformations. Note that the selection lines
jumps here.
5. Select freehand selection tool (select with hotkey) and click on the canvas
to remove selection.
6. Draw on top of the transformed triangle. Note that the triangle lines are
disappearing around newly drawn lines.
7. "Refresh" the canvas by hiding and unhiding the layer to reveal that the
entire selection has actually disappeared.

OBSERVED RESULT
The content in the selected area has disappeared. In step 6, drawing new lines
on top of the triangle causes white squares around the new lines to be removed
from the old triangle lines.

EXPECTED RESULT
The selected area is transformed.

SOFTWARE/OS VERSIONS
Windows: Windows 10
Linux/KDE Plasma: Kubuntu, Manjaro KDE Edition

ADDITIONAL INFORMATION
Video here: https://www.youtube.com/watch?v=rBUyZqPR1pE

The video is from Kubuntu Linux using Krita 5.0.2 (the latest snap). But I have
the same issue on Windows with Krita 5.0.0 and 5.1.0, and on Manjaro Linux
using Krita 5.0.2 and 5.1.0. I have had this issue since the I tried the Krita
5.0 beta on my then new 4k screen.

In step 4, only translation does not trigger the bug, but any other set of
transforms often does. Multiple transforms seems to almost always trigger it.

Undoing (ctrl+z) to undo the transformation makes the deleted content
re-appear.

Workaround: Between step 4 and 5, draw a line inside the selection, the undo
the line. Now the bug will usually not happen (transforms succeeds maybe 80% of
the time), but still happens occasionally. When that happens, undo the
transform, do it again and retry the workaround.

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

Reply via email to