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

            Bug ID: 519830
           Summary: [Wayland/Sway] Touch gestures on canvas hang after
                    pointer interaction until complex UI widget is
                    focused.
    Classification: Applications
           Product: krita
      Version First 6.0.1
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Pointer presence on the Canvas Subsurface prevents gesture initiation.

STEPS TO REPRODUCE
1.   Open Krita 6.0.1 on Sway (xwayland disabled or QT_QPA_PLATFORM=wayland is
set).
2.   Move the mouse/touchpad pointer over the drawing canvas.
3.   Attempt a touchscreen gesture, like drawing with your finger or pinch zoom
(It will likely fail).
4.   Click a "simple" action button like Redo or Undo (Gestures still fail).
5.   Click or interact with a "complex" widget (e.g., Opacity Slider, Layer
Docker, or Palette color history).
6.   Attempt the gesture on the canvas again (It now works).


SOFTWARE/OS VERSIONS
Latest CachyOS:

❯ uname -r
7.0.3-1-cachyos

❯ sway -v
sway version 1.11

❯ pacman -Q wlroots0.19 
wlroots0.19 0.19.3-1.1

❯ pacman -Q qt6-base 
qt6-base 6.11.0-3.1

❯ pacman -Q krita 
krita 6.0.1-5.1


ADDITIONAL INFORMATION
    WAYLAND_DEBUG confirms wl_pointer.leave is sent by Sway, but Krita/Qt6's
gesture state machine remains locked.

    I tested, issue is not present in Plasma (KWin) - perhaps KWin is more
mature in terms of hiding pointer input focus when a touchscreen gesture is
detected compared to wlroots?

   Launching krita with "QT_QPA_PLATFORM=wayland-egl krita" does not help.

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

Reply via email to