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

            Bug ID: 518202
           Summary: Switching focus between the main window and a floating
                    docker stutters
    Classification: Applications
           Product: krita
      Version First 5.3.0
       Reported In:
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Dockers
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 191056
  --> https://bugs.kde.org/attachment.cgi?id=191056&action=edit
Shows switching between the docker and drawing encounters stuttering

SUMMARY

If I have focus on a floating docker and then interact with the canvas to draw,
there is a stutter / lag (~1 second) before drawing begins. Any drawing after
that is fine and has no stutter.

If I am drawing and then try to interact with a floating docker, the initial
interaction with that docker stutters before doing what the interaction is
expected to do.

This happens for any interaction that switches focus between the main window
and a floating docker.

Interacting with a docker that is docked to the main UI while the main window
is already the focus does not cause this problem to happen.

STEPS TO REPRODUCE
1. Create a new document
2. Select the Freehand Brush Tool
3. Press the button on the top right of the Advanced Color Selector docker to
make it float
4. Click on the Advanced Color Selector (doesn't have to be selecting a color,
just anywhere to give it focus)
5. Click and drag on the canvas

OBSERVED RESULT

The initial activation of the brush stoke stutters / lags for about a second
before becoming normal for the rest of the stroke and any subsequent strokes.

EXPECTED RESULT

The initial activation of the brush stroke should be instant, without any
stuttering or lag.

SOFTWARE/OS VERSIONS
Windows: 10 22H2
Qt Version: 5.15.7

ADDITIONAL INFORMATION

The inverse stutter also happens in STEPS TO REPRODUCE, where you are drawing
on the canvas and then click on the Advanced Color Selector. Once the docker is
"focused", no stutter occurs when choosing a different color. I attempt to show
this at the end of the attached video.

This happens for all floating dockers, it's not specific to the Advanced Color
Selector docker and drawing on the canvas (just the easiest example for seeing
the stutter). For example, selecting a layer after selecting a color will lag
before switching the layer selection.

This was not present for me on 5.2.13 and only started happening after
upgrading to 5.3.0. I manually uninstalled 5.3.0 and re-installed 5.2.13 after
encountering this and confirmed the issue is not present in the older version.

The problem even happens if I just use my mouse instead of my tablet, so it
doesn't seem to be related to any tablet / driver issues.

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

Reply via email to