Bug 493874 - Nested groups with enabled passthrough puts krita in infinite processing loop
Summary: Nested groups with enabled passthrough puts krita in infinite processing loop
Status: RESOLVED DUPLICATE of bug 493774
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: 5.2.5
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-30 15:40 UTC by Crocobutt
Modified: 2024-10-01 11:16 UTC (History)
1 user (show)

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


Attachments
Screenshot of group and layer layout for reproduction of bug (16.41 KB, image/jpeg)
2024-09-30 15:40 UTC, Crocobutt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Crocobutt 2024-09-30 15:40:42 UTC
Created attachment 174233 [details]
Screenshot of group and layer layout for reproduction of bug

SUMMARY
Nested grouping with enabled passthroughs puts krita in infinite processing loop.

STEPS TO REPRODUCE
1. Start new document.
2. Group a layer and enable passthrough on group.
3. Group the group again and enable passthrough on that too. Should look like this (attached screenshot too):
Group (passthrough on)
 └Group (passthrough on)
    └Layer
4. Create or move a new layer in bottom group, or move layer outside the group.

OBSERVED RESULT
Krita becomes stuck doing whatever action one tried to do within the group. (delete layer, add, move)
You are no longer able to do anything due to infinite processing.

EXPECTED RESULT
Completing an action (move/create/remove layer) and showing the final layers' composite on canvas?

SOFTWARE/OS VERSIONS
Windows: 10, 20H2

ADDITIONAL INFORMATION
Krita 5.2.3 and prior handled all kinds of groups with passthrough configurations in very complex works before, seems new in 5.2.5.

Thank you!
Comment 1 Dmitry Kazakov 2024-09-30 15:43:42 UTC
Hi, Crocobutt!

Thank you for the report! I've already have a fix for this bug and working on publishing the update.

Please check these packages until we published the official builds:
https://krita-artists.org/t/5-2-5-lockup-after-using-transform-tool-on-a-group-with-passthrough-enabled/102854/13?u=dkazakov

*** This bug has been marked as a duplicate of bug 493774 ***
Comment 2 Crocobutt 2024-09-30 15:54:00 UTC
Ah, great! Thank you!
Comment 3 Dmitry Kazakov 2024-09-30 20:05:32 UTC
Here are the upcoming packages for Krita 5.2.6 that are going to be release tomorrow: https://files.kde.org/krita/.release/5.2.6/
Comment 4 Crocobutt 2024-10-01 11:16:07 UTC
(In reply to Dmitry Kazakov from comment #3)
> Here are the upcoming packages for Krita 5.2.6 that are going to be release
> tomorrow: https://files.kde.org/krita/.release/5.2.6/

Seems like you solved it for good!
Thank you!