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

            Bug ID: 504546
           Summary: In wayland, "Mirror View Around Cursor" action only
                    uses mouse's last position but not tablet's
    Classification: Applications
           Product: krita
      Version First git master (please specify the git hash!)
       Reported In:
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: * Unknown
          Assignee: krita-bugs-n...@kde.org
          Reporter: m...@culpring.com
  Target Milestone: ---

SUMMARY

When running krita in X11 mode, the "Mirror View Around Cursor" action always
flips the canvas around the axis that tablet pen is currently pointing at.
However, when running krita in wayland natively, it flips around the position
where the mouse pointed at last time before tablet is used.

Perhaps 

STEPS TO REPRODUCE
1. Move the mouse cursor close to the left of screen
2. Use drawing tablet pen to move the cursor to the middle of the screen
(tablet operating in absolute position mode)
3. Execute "Mirror View Around Cursor" action. Observe that the canvas is
flipped around the left of the screen

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux NixOS hyprland
Qt Version: 6.9.0
Krita git hash: master branch at 2025-05-16
(e29803b8f4d858148c6268805812c24557e2e4c9)

ADDITIONAL INFORMATION

If failed to repro in other wayland compositor, this bug could be specific to
Hyprland, due to the way mouse pointer and tablet pointer logic is handled
(somehow mouse pointer position won't be updated to the tablet pen's position
in krita). If that's the case I can inspect further.

If this is a general wayland issue, maybe "Mirror View Around Cursor" could be
updated to also take tablet pen's position into account, as that's most like
what users want and expect

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

Reply via email to