Bug 438765 - Animation: Infinite "update" loop with transform mask
Summary: Animation: Infinite "update" loop with transform mask
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Eoin O'Neill
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2021-06-16 18:33 UTC by grum999
Modified: 2021-07-26 18:40 UTC (History)
1 user (show)

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


Attachments
example file ready to use (168.84 KB, application/x-krita)
2021-06-16 18:33 UTC, grum999
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grum999 2021-06-16 18:33:31 UTC
Created attachment 139407 [details]
example file ready to use

SUMMARY

The "Infinite 'update' loop with transform mask" (https://bugs.kde.org/show_bug.cgi?id=436642) has been fixed.

But as I didn't answer about what to do (reopen bug or create a new one) and before I forgot this problem, I create a new one as the bug currently occurs only when transform masks are animated (so maybe related to animation, or not)



STEPS TO REPRODUCE
1. Create a new document with following layers (or download attached file)

[root]
 +-- Clone layer (of "GroupAnim")
 |    +-- Transform Mask         (animated)
 |
 +-- Group layer "GroupAnim" 
      +-- Paint layer 
      |    +-- Transform Mask         (animated)
      +-- Paint layer 
           +-- Transform Mask         (animated)

2. Hide group layer "GroupAnim" (optional)

3. Do nothing, just wait


OBSERVED RESULT

We can see activity every ~4s:
- On all transform mask, even hidden transform masks
- In status bar ("updating" progress bar)
- Doing a 'top' in a terminal, many krita processes are created and raise to 100%


EXPECTED RESULT
Once transform mask is applied and projection rendered, no more activity is expected is nothing is modified on document



SOFTWARE/OS VERSIONS
Linux krita-5.0.0-prealpha-949e869-x86_64.appimage



Grum999
Comment 1 Emmet O'Neill 2021-06-18 01:02:43 UTC
Yeah, I can confirm this one with your test file.

I had a hard time reproducing this on my own file, interestingly enough.

At any rate, I'm labeling this one as a major/release blocking bug.
Comment 2 Emmet O'Neill 2021-07-14 23:20:29 UTC
I think this one has been fixed by another commit and I can no longer reproduce it with the test file, so I'm closing this. If this specific problem persists, then please reopen with an update. 

Thanks again.
Emmet
Comment 3 grum999 2021-07-26 18:40:26 UTC
Hi

I can confirm on last tested appimage (krita-5.0.0-prealpha-627782b-x86_64.appimage) that something has been fixed.

It's not 100% fixed, but I think we can consider that problem is not noticeable anymore and bug can stay in "FIXED" status


To be more precise:
- Hide group layer "GroupAnim"
  -> We can see activity on hidden transform mask layers 
- Wait 4s
  -> We can see activity on hidden transform mask layers 

And then, no unexpected activity occurs anymore on hidden transform layers.


Grum999