Summary: | [Selection tools] Tracing interupted by Krita while using Recorder docker (and recording) | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | David REVOY <info> |
Component: | Dockers/Recorder | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, dorijan.salak, olvarx |
Priority: | NOR | ||
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/c99b19450ccbe79356597afe1fe4213a9791378d | Version Fixed In: | |
Sentry Crash Report: |
Description
David REVOY
2023-11-29 12:36:47 UTC
Adding some extra info to this. It's caused by recorder taking a snapshot (set by Capture interval) so easiest to reproduce it is to set capture interval low like 1 sec, take freehand selection tool make a selection and then quickly start tracing new selection or add to current, after set interval a new capture will happen and interrupt current tracing. A way to avoid it is to wait the set interval before making a new selection, however it will still capture new snapshot for every addition to the selection. Capturing selection actions is a waste of storage space as selections won't even be visible during timelapse and instead only show as pause without any update to the timelapse for a duration it took to finish selection. Solution to this would be to simply exclude selection tool actions from being recorded, both for optimization reasons and to resolve this bug. It isn't dependent on document size, possible to reproduce on a single layer document. Switching to selection tool swiftly to begin selection within the capture interval while the symbol is red gets it to interrupt the selection. Making the capture interval 5 seconds means that after the mark is made if selection tool is used within that interval it gets interrupted by the end of the 5 seconds. Krita 5.2.3-beta 1 (git 3e827a7) on windows 10 Bug happened in 5.2 and 5.2.5-prealpha-c43e9bbe as well. But is not present in 5.3.0-prealpha-a0775b3b Git commit c99b19450ccbe79356597afe1fe4213a9791378d by Dmitry Kazakov, on behalf of Firstname Aqaao. Committed on 08/11/2024 at 10:47. Pushed by dkazakov into branch 'krita/5.2'. Fixed: some tools is interrupted by recorder. Related threads: [bug#477715](https://bugs.kde.org/show_bug.cgi?id=477715) [bug#484783](https://bugs.kde.org/show_bug.cgi?id=484783) According to my tests, half of tools are affected. This MR expanded tool blacklist and divide tools into two categories. One is done in one step(like Line Tool), just disable recorder when such tools are activated(left button pressed on canvas). One is done in multiple steps(like FreeHand Selection Tool), we need disable recorder in such tools all lifetime. Related: bug 488472, bug 484783 M +2 -0 libs/ui/canvas/kis_tool_proxy.cpp M +4 -1 libs/ui/canvas/kis_tool_proxy.h M +55 -8 plugins/dockers/recorder/recorder_writer.cpp M +1 -0 plugins/dockers/recorder/recorder_writer.h https://invent.kde.org/graphics/krita/-/commit/c99b19450ccbe79356597afe1fe4213a9791378d Thank you so much Dmitry for fixing this bug that I have been experiencing so often on a daily basis for the past year! It will change my life. 👍 I'm glad it'll make your life easier, David! ;) |