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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/-/commit/bde3529 |hics/krita/-/commit/bad0dd9
                   |3fa025f692c224a9845b8392cc5 |cd86a9915bf8883f45a68ab5c7b
                   |acdb60                      |a2d91a

--- Comment #11 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit bad0dd9cd86a9915bf8883f45a68ab5c7ba2d91a by Dmitry Kazakov.
Committed on 25/07/2024 at 11:11.
Pushed by dkazakov into branch 'master'.

Fix conflicts between mouse and touch actions requested concurrently

When drawing with a stylus on a touch-capable laptop it may happen
that a touch event will come in the middle of a stylus stroke. In
such a case we should avoid starting any touch action, while a
tablet action is still running.

This patch basically replaces all the checks for `if (!m_d->runningShortcut)`
with `if (!hasRunningShortcut())` which checks for all the types of the
actions possible. It basically prohibits running any touch action while
table action is running and vice versa.

M  +0    -2    libs/ui/input/kis_input_manager.cpp
M  +47   -73   libs/ui/input/kis_shortcut_matcher.cpp
M  +0    -3    libs/ui/input/kis_shortcut_matcher.h

https://invent.kde.org/graphics/krita/-/commit/bad0dd9cd86a9915bf8883f45a68ab5c7ba2d91a

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

Reply via email to