Bug 286340

Summary: Loading of images with shifted clones
Product: [Applications] krita Reporter: Dmitry Kazakov <dimula73>
Component: GeneralAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dmitry Kazakov 2011-11-11 15:08:47 UTC
Version:           svn trunk
OS:                Linux

Load the image in attachement and the projection in the UI will be filled with garbage randomely.

Reproducible: Didn't try

Steps to Reproduce:
Load the file


Expected Results:  
Loaded normally
Comment 1 Dmitry Kazakov 2011-11-13 07:58:01 UTC
Git commit ee20b72fb5c4df43285ecb697b4b8fe73187e049 by Dmitry Kazakov.
Committed on 13/11/2011 at 00:48.
Pushed by dkazakov into branch 'master'.

Fixed a bug in the KisUpdateSubtreeWalker

If we update a subtree with some root, we should not write
anything into the root's projection. We use N_EXTRA type of
"dirtiness" for that.

BUG:286340

M  +1    -1    krita/image/kis_base_rects_walker.h
M  +2    -2    krita/image/kis_refresh_subtree_walker.h
A  +-    --    krita/image/tests/data/subgraphing_without_updating.png
M  +47   -0    krita/image/tests/kis_async_merger_test.cpp
M  +1    -0    krita/image/tests/kis_async_merger_test.h

http://commits.kde.org/calligra/ee20b72fb5c4df43285ecb697b4b8fe73187e049