I did the following in Affinity Photo 1.7.2 on Windows:
Opened a PSD file
Ctrl+M to apply a curve, adjusted the curve significantly (the result was shown on the image)
Ctrl+G to put that curve adjustment into a group
Alt+mask button to put a black mask on the group
I expected the result of step #4 to be that it would hide the curve adjustment and show the underlying, original Background layer untouched. But the result was that the image went blank/transparent (checkerboard pattern). You can see this in the following image. Note that I have added a duplicate background layer outside of the group, but that has no effect here.
Even more interesting is that when I move the duplicate Background layer inside the group, I get the result that I previously expected... even if that layer is not checked as being visible.
However, I do need to set that layer as visible in order to be able to draw with my mask.
Why does this duplicated pixel layer need to be a part of my group in order for the mask to have the effect that I want? I swear that I have done this before - I almost feel like I've changed a default setting somewhere, but maybe I'm remembering incorrectly. Still, just looking at a simple example like my steps 1-4 below, I can't quite figure out what I've got wrong. Any help is appreciated.