Bug 356756

Summary: LOD painting with wrapped mode only has instant updates for stroke inside original image
Product: [Applications] krita Reporter: Friedrich W. H. Kossebau <kossebau>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Friedrich W. H. Kossebau 2015-12-15 22:57:03 UTC
Having switching on both "Instant Preview Mode" and "Wrap Around Mode", when painting over duplicated parts of the image there is no instant preview, no stroke shown at all. Only once the stroke is finished, it is rendered as it should be.
The parts of strokes done over the original image have instant preview, including in the duplicated images.


Reproducible: Always

Steps to Reproduce:
1. Create or load an image
2. Switch on both "Instant Preview Mode" and "Wrap Around Mode"
3. Paint long strokes, going across the border of the original image

Actual Results:  
Preview while doing the stroke is only shown for the parts of the stroke done over the original image.

Expected Results:  
Preview is always shown, no matter if the stroke is done outside or inside the original image.
Comment 1 Halla Rempt 2015-12-16 07:40:38 UTC
Confirmed and made a phab task: https://phabricator.kde.org/T1195
Comment 2 Dmitry Kazakov 2016-04-01 08:31:52 UTC
Git commit e87a019ea95d7e65da455dfcc6bb363bad2f10b6 by Dmitry Kazakov.
Committed on 01/04/2016 at 08:31.
Pushed by dkazakov into branch 'master'.

Fix working of WrapAround mode when Instant Preview is active

CC:kimageshop@kde.org
Fixes T1195

M  +1    -1    libs/image/kis_default_bounds.cpp
M  +16   -1    libs/image/kis_image.cc
M  +7    -1    libs/image/kis_image.h
M  +1    -1    libs/image/kis_paint_device.cc

http://commits.kde.org/krita/e87a019ea95d7e65da455dfcc6bb363bad2f10b6