Created attachment 124215 [details] example SUMMARY git 71ca2f2 It also happens in 4.2.8. STEPS TO REPRODUCE 1. Select any area on the canvas. 2. Create a filter mask. 3. Convert it into a paint layer. OBSERVED RESULT The background becomes transparent, and black areas appear around the converted layer(which is bigger than the actual layer). EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: Win7 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
* Maybe not only background, but everything other than the converted layer becomes transparent.
Created attachment 124249 [details] Filter Masks to Paint Layers have rendering problems I can Confirm this for the 4.2.8 appimage. Using a selection to limit the extent of the filter mask gives what seems to be transparency in the mask, outside the selection. It should all be black outside the selection, I'd have thought. Note: As a filter mask, it works fine. When the mask is converted to a paint layer, that 'transparency' does not render well and causes all kinds of effects like making things transparent underneath it. You can get the background back by turning off the paint layers that were made this way and then toggling the background on and off. I attach a .kra file which has some paint layers that were obviously made in this way. You can turn them on and off to see the consequences.
Extra Observation: If you do a Layer Export of one of those paint layers as a .png file and then Import it back in, the resulting paint layer does not cause any of the problems that have been seen so far. If you then convert it to a Filter mask, it has black instead of transparency and will then convert back to a paint layer with all black surround as expected.
The resulting layer also has "copy" blending mode, which breaks compositioning quite a lot.
Fixed in https://invent.kde.org/graphics/krita/commit/c6d00e8fb6660698a0e89ab8ad86a807016ca126 and https://invent.kde.org/graphics/krita/commit/f1990fa0843f980c3364f305385e13e6e059c72f