"New from Visible", "Copy Visible" include visible channels in result
In the attached xcf file:
-
If I click on the top layer in the group and then do "Layer/New from Visible", the resulting new layer seems almost as if the layer labelled "3" is ignored, though I think the result of making layer 3 invisible before making the new layer doesn't exactly match the result of keeping layer 3 visible.
-
If I duplicate the group and merge the duplicated group into a layer, the result is correct - the merged group looks just like the unmerged group.
This is true at 32f linear precision (which is what the xcf file started as), and also as 8i perceptual precision (which is what I uploaded).
Oddly enough, when dragging one of the layers out as a new image, and then dragging the remaining layers over to the new image to replicate the original layer stack, and making "New from Visible", results are correct regardless of how the new layer is made. So I'm guessing that the "'New from Visible' doesn't match" might not be an actual bug - it might not happen with files originally created using GIMP-2.10 - but rather somehow is happening because a couple of the layer masks were dragged over from an old XCF file that I made using GIMP-2.9 back in February 2013. Maybe?
This is using GIMP-2.10 updated from git yesterday, on Gentoo.