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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/0ca332c7089c69
                   |                            |0a62c6d7b66515fe9aacdabbdb
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #18 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 0ca332c7089c690a62c6d7b66515fe9aacdabbdb by Dmitry Kazakov.
Committed on 31/01/2020 at 14:06.
Pushed by dkazakov into branch 'master'.

Fix hiccups when doing canvas actions

Fixed KisSignalCompressor became too precise and tries to keep
the interval too hard. Sometimes the signal handler is too slow, in
such cases we should still give some time for event loop to execute.

To achieve that, KisSignalCompressor now has an additional operational
mode: "additive interval mode". When this mode is active, then interval
time is counted from the moment, when the execution path is returned from
the signal handler. In "precise interval mode" (default), in reverse, the
interval is counted from the moment, when start() signal arrives.
Related: bug 415773
CC:kimages...@kde.org

M  +23   -3    libs/global/kis_signal_compressor.cpp
M  +7    -0    libs/global/kis_signal_compressor.h
M  +36   -4    libs/global/tests/KisSignalCompressorTest.cpp
M  +2    -0    libs/global/tests/KisSignalCompressorTest.h
M  +3    -1    libs/ui/input/kis_input_manager_p.cpp

https://invent.kde.org/kde/krita/commit/0ca332c7089c690a62c6d7b66515fe9aacdabbdb

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

Reply via email to