Bug 396209

Summary: Reference image transform handles leave a trail
Product: [Applications] krita Reporter: Antti Savolainen <antti.savo>
Component: CPU CanvasAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: minor CC: dimula73, halla, joupent, rjquiralte
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antti Savolainen 2018-07-05 16:16:36 UTC
Video demonstration: https://youtu.be/MEqBdcLNGto

There's nothing more than what the video shows. I insert an image and move it around and it leaves a trail. The trail disappears if you drag the image below or to the right of the markings or if you click on any other tool

Build & Platform:
    krita 4.2.0-pre-alpha (git c16dbae)
    Xubuntu 17.10
Comment 1 Quiralta 2018-07-05 18:25:31 UTC
I can't reproduce, although that looks like a redraw problem, more likely to be related to the graphic drivers/card/opengl? but I can be wrong.

Git master here too, on Arch with nvidia system.
Comment 2 joupent 2018-07-06 10:01:22 UTC
Note: this only happens on a QPainter canvas (i.e. with OpenGL disabled).
Comment 3 Halla Rempt 2018-07-10 13:04:11 UTC
I am pretty sure this also happens with the decorations for the vector tools, and that we've got a report for it somewhere, but I cannot find it.
Comment 4 Antti Savolainen 2018-07-10 13:31:24 UTC
Can confirm joupent: Toggling 'Canvas Graphics Acceleration' in the Display settings toggles the trail bug as well.
Comment 5 Dmitry Kazakov 2020-09-09 13:58:18 UTC
Should be fixed with this patch: 
https://invent.kde.org/graphics/krita/-/merge_requests/488
Comment 6 Dmitry Kazakov 2020-09-14 20:38:40 UTC
Git commit 9d5fabf4fe357daec1ecec136317025acafc3ac1 by Dmitry Kazakov.
Committed on 14/09/2020 at 19:50.
Pushed by dkazakov into branch 'krita/4.3'.

Fix partial updates in Reference Images tool

M  +3    -3    plugins/tools/defaulttool/defaulttool/DefaultTool.cpp
M  +1    -1    plugins/tools/defaulttool/defaulttool/DefaultTool.h
M  +2    -0    plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp

https://invent.kde.org/graphics/krita/commit/9d5fabf4fe357daec1ecec136317025acafc3ac1
Comment 7 Dmitry Kazakov 2020-09-14 20:47:47 UTC
Git commit e4b510ce4ed088bc177ae62edc497c9526ea3454 by Dmitry Kazakov.
Committed on 14/09/2020 at 20:41.
Pushed by dkazakov into branch 'master'.

Fix partial updates in Reference Images tool

M  +3    -3    plugins/tools/defaulttool/defaulttool/DefaultTool.cpp
M  +1    -1    plugins/tools/defaulttool/defaulttool/DefaultTool.h
M  +2    -0    plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp

https://invent.kde.org/graphics/krita/commit/e4b510ce4ed088bc177ae62edc497c9526ea3454