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/bad0dd9 |hics/krita/-/commit/72cb615
                   |cd86a9915bf8883f45a68ab5c7b |2132394c8de995c1f7706746be4
                   |a2d91a                      |08dde7

--- Comment #13 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 72cb6152132394c8de995c1f7706746be408dde7 by Dmitry Kazakov.
Committed on 25/07/2024 at 11:15.
Pushed by dkazakov into branch 'krita/5.2'.

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.

# Conflicts:
#       libs/ui/input/kis_shortcut_matcher.cpp

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/72cb6152132394c8de995c1f7706746be408dde7

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

Reply via email to