Bug 359760

Summary: crash of tiles in the canvas
Product: [Applications] krita Reporter: David REVOY <info>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: grave CC: griffinvalley, halla, mira-maia, raghu, sqdqsddd
Priority: NOR    
Version: 2.9.11   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: [ ^ video of the bug ]

Description David REVOY 2016-02-24 16:49:24 UTC
Created attachment 97540 [details]
[ ^ video of the bug ]

Hi,

Here is a bug very damaging : tiles crashes on the canvas and content of the layer is lost. One of the most frustrating bug of 2016 while drawing/painting with 2.9.11. It's a hard bug to find or trigger, and also very hard to propose a way to reproduce it. I try to hunt this one since january because I experience it on weekly basis. Today I started to record a video, and the bug happens. ( a 5 minute video in attachment ). So, I'm filling this bug with this video because maybe the video will give you hint of what really happen, and maybe how to prevent it. I totally understand if this bug keep a long time in unconfirmed, or in a 'wait' status. Thank you for your time studying this one.

Comment about the video ( in attachment ):
---------------------------------------------------------------
(Note: I'm using 'Temporary save tweaks to preset' in the brush editor)
* (3:00min) I switch from a a pixelbrush engine preset ( temporary saved with 'Eraser' blending mode ) to a Deform engine preset, to tweak proportion. The Deform-engine preset use the 'Copy' blending mode. 
* (3:32min) I press 'M' I enter in mirror view mode.
* (3:34min) I switch back to my pixelbrush engine preset, and press 'E' because this one was in erase mode. Note how the blending mode is not restored to 'Normal' but change to 'Copy' ( *BUG*) of course, I start to notice it while painting. I try to press 'E' but the eraser switch is blocked. 
* (3:54min) I manually go to the blending mode drop-down list in the toolbar, to switch back my tool to 'Normal' blending mode. I paint, but the result is still a 'Copy' blending mode. 
* (4:12min) I'm zooming in and out, to try to solve this issue by refreshing the canvas zoom. No success. 
* (4:17min) I'll switch visibility of layer on/off ; it will trigger the major bug here. When visibility is back , half of the tiles crashed ; the drawing is good to go to trash.
* (4:23min and after) A series of attempt to recover the drawing, duplicating, putting the layer inside a group, etc... No : the datas are lost.
Comment 1 wolthera 2016-02-25 09:19:43 UTC
I have come across this one too, but it is indeed very rare...
Comment 2 Halla Rempt 2016-03-07 07:23:52 UTC
Then we can put it to confirmed. It must be some kind of threading issue. Are we sure it didn't happen before 2.9.11, though?
Comment 3 Raghavendra kamath 2016-03-15 15:37:34 UTC
I have this issue in 3.0 latest git too
Comment 4 Halla Rempt 2016-03-19 08:54:35 UTC
*** Bug 343116 has been marked as a duplicate of this bug. ***
Comment 5 Halla Rempt 2016-03-19 10:01:26 UTC
*** Bug 344925 has been marked as a duplicate of this bug. ***
Comment 6 Halla Rempt 2016-03-31 11:43:43 UTC
Dmitry fixed this.