Bug 393455 - Painting inside transparency mask in Isolated Mode not updating and blocky
Summary: Painting inside transparency mask in Isolated Mode not updating and blocky
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (other bugs)
Version First Reported In: 4.0.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-24 07:52 UTC by Andreas Resch
Modified: 2019-05-23 17:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Resch 2018-04-24 07:52:43 UTC
Hello.

When painting inside a transparency mask, the canvas is not updated after the inital stroke (although the stroke can be seen in the layer thumbnail). When I create another stroke, the previous strokes gets visible but the visual representation of the stroke is blocky.

I'm using Direct3D as with OpenGL the brushes are lagging. The issue is there in OpenGL as well though.

Here's a screencast of the issue ... http://www.andreasresch.at/upload/Krita_MaskBug_01.zip

Cheers,
Andreas
Comment 1 Dmitry Kazakov 2018-04-24 13:24:56 UTC
Hi, Andreas!

Could you check the following:

1) Paint on the mask to see the blocking result
2) Zoom-in/out multiple times

Does the canvas got rendered properly?

3) If not, try to toggle the visibility of the topmost layer off and on. 

Does the canvas got rendered correctly now?


Please answer these questions and send me the example file you used to get this error. I tried to reproduce it locally, but it seem like everything works fine here :(
Comment 2 Andreas Resch 2018-04-24 13:31:20 UTC
Hey.

Zooming does not refresh the mask - neither does toggling the visibility of the top layer or the mask layer. However toggling the base layer refreshes the mask. It also helps to switch to the top layer and back to the mask.

Here's the scene. But it's just a newly created file - nothing special.

http://www.andreasresch.at/upload/Krita_MaskBugTest_01.zip

Cheers,
Andreas
Comment 3 Dmitry Kazakov 2018-04-25 12:53:31 UTC
Okay, I managed to reproduce the problem. The problem is *not* in simple painting on a transparency mask, it happens only when "Isolate Layer" mode is on. It is quite difficult to notice on the original video....

I will try to fix that, for now you should just disable isolated mode when painting on masks :)
Comment 4 Andreas Resch 2018-04-25 12:55:42 UTC
Yeah - it was in isolated mode. No hurry from my side - take your time. I'm not using Krita for production for now.
Comment 5 Dmitry Kazakov 2019-05-23 17:00:52 UTC
Hi, Andreas!

The bug should now be fixed in commit 0ed30208c97a8374b8c2b0b04f8d51b9b119d83b

Please test the nightly builds:
https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/

If the bug still persists, please reopen the report :)