Hi!<br><br>Some time ago I've done a patch [0] for the KoToolManager, which fixes the deactivation of tools while switching the input device. This patch is completely necessary for fixing the bug 298584 in Krita, because otherwise Krita will not know when to finish the action of the tool.<br clear="all">
<br>Alongside with the deactivation, the patch also allows to disconnect the actions of the previous tool properly and fixes initialization of the status bar text for the tool. Without this patch, if you work with two tools (e.g. Text tool and Brush tool) associated to two different devices, the test in the status bar will be mixed.<br>
<br>One more bug which is fixed by the patch affects all the Calligra application when they work in Multiple Views mode. If you assign two different tools to two devices, then create a new view, then when switching the devices, the tools will be switched in the initial view instead of a new one. The selection decorations will be shown wrongly as well. This happens because the canvasData object is not switched properly (the link to the new KoCanvasControllerWidget is not established). This patch fixes this bug as well.<br>
<br>Could you please test and/or review this patch so I could merge it to master and, if possible, to calligra/2.6 ? You can test it either by directly applying the patch from the reviewboard or by just checking out my branch: krita-new-move-tool-kazakov<br>
<br>I tested this patch with Krita, Karbon, Flow and Words and found no regressions.<br><br><br>[0] - <a href="https://git.reviewboard.kde.org/r/107205/">https://git.reviewboard.kde.org/r/107205/</a><br>[1] - <a href="https://bugs.kde.org/show_bug.cgi?id=298584">https://bugs.kde.org/show_bug.cgi?id=298584</a><br>
-- <br>Dmitry Kazakov<br>