Bug 433628 - Filter masks aren't properly hidden when hiding the layer they're attached to
Summary: Filter masks aren't properly hidden when hiding the layer they're attached to
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.4.3-beta1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-26 03:29 UTC by tomtomtomreportingin
Modified: 2021-11-02 08:42 UTC (History)
3 users (show)

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


Attachments
Testfile (2.48 MB, application/zip)
2021-03-17 13:18 UTC, Tiar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomtomtomreportingin 2021-02-26 03:29:13 UTC
SUMMARY
The canvas view isn't visually updated properly when hiding layers that utilize filter masks.

STEPS TO REPRODUCE
1. Create a filter mask for Random Noise.
2. Hide the paint layer that the filter mask is attached to.

OBSERVED RESULT
The Random Noise is still visible. Hiding the filter mask and then unhiding it will properly hide the Random Noise.


EXPECTED RESULT
The filter mask should always be hidden when the layer it's attached to is hidden.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.12.9 (Appimage)

ADDITIONAL INFORMATION
From what I can tell, this doesn't appear to be a regression as it happens as far back as 4.1.0.
Comment 1 Tiar 2021-03-17 13:18:50 UTC
Created attachment 136787 [details]
Testfile

It looks like Random Noise specifically tries to paint over the whole canvas, but then hiding and inhiding it only updates the part where the layer is, which means there is something wrong is dirty rects.
Interestingly, hiding and unhiding the mask itself does update the whole canvas.
(Tested in 4.4.3-beta2)