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

            Bug ID: 477753
           Summary: Cursor and stroke delay on transparent (empty) canvas
                    at the end of each stroke
    Classification: Applications
           Product: krita
           Version: 5.2.1
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: * Unknown
          Assignee: krita-bugs-n...@kde.org
          Reporter: dorijan.sa...@gmail.com
  Target Milestone: ---

SUMMARY
Delays and painting performance drops when painting on empty (transparent)
canvas with 2 or more layers in stack.

STEPS TO REPRODUCE
1. Create new document (larger, something demanding) with 2 layers and Image
Background opacity set to 0%
2. Attempt to draw multiple fast strokes
3. Observe cursor/stroke delay
4. Delete one layer so only 1 layer is in stack, or add 1-100% fill underneath,
or increase image bg opacity to 0,05-100%
5. Repeat from step 2. to observe normal behavior

OBSERVED RESULT
Delay in cursor movement and stroke rendering at the end of each stroke when
drawing on an empty canvas with 2 or more empty/hidden layers in stack and
Image background opacity set to 0%.
Painting on a single empty layer in stack and 0% Image BG opacity will not
cause issue.
Setting Image BG opacity to 0,05-100% or having filled paint layer or Fill
Layer underneath with at least 1% opacity will also result in normal stroke
performance.

EXPECTED RESULT
No performance issues when drawing on an empty canvas with 2 or more layers in
stack.

SOFTWARE/OS VERSIONS
Windows: Windows 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.7 

ADDITIONAL INFORMATION
Tested on all three Canvas Graphics Acceleration options and without (CPU
rendering) all with same results, so it doesn't seem to be an issue with OpenGL
renderer. No difference in CPU and RAM usage between normal and abnormal
performance.
Important to note: Attempting to reproduce this bug on very small canvas will
not show any significant performance drop and bug won't be apparent.

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

Reply via email to